Interface DescribeSnapshotsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>, ElastiCacheRequest.Builder, SdkBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeSnapshotsRequest

public static interface DescribeSnapshotsRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>
  • Method Details

    • replicationGroupId

      DescribeSnapshotsRequest.Builder replicationGroupId(String replicationGroupId)

      A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.

      Parameters:
      replicationGroupId - A user-supplied replication group identifier. If this parameter is specified, only snapshots associated with that specific replication group are described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheClusterId

      DescribeSnapshotsRequest.Builder cacheClusterId(String cacheClusterId)

      A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.

      Parameters:
      cacheClusterId - A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotName

      DescribeSnapshotsRequest.Builder snapshotName(String snapshotName)

      A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.

      Parameters:
      snapshotName - A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotSource

      DescribeSnapshotsRequest.Builder snapshotSource(String snapshotSource)

      If set to system, the output shows snapshots that were automatically created by ElastiCache. If set to user the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots.

      Parameters:
      snapshotSource - If set to system, the output shows snapshots that were automatically created by ElastiCache. If set to user the output shows snapshots that were manually created. If omitted, the output shows both automatically and manually created snapshots.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marker

      An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      Parameters:
      marker - An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxRecords

      DescribeSnapshotsRequest.Builder maxRecords(Integer maxRecords)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

      Default: 50

      Constraints: minimum 20; maximum 50.

      Parameters:
      maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

      Default: 50

      Constraints: minimum 20; maximum 50.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • showNodeGroupConfig

      DescribeSnapshotsRequest.Builder showNodeGroupConfig(Boolean showNodeGroupConfig)

      A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.

      Parameters:
      showNodeGroupConfig - A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeSnapshotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.