public static interface DescribeSnapshotsRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotsRequest.Builder |
cacheClusterId(String cacheClusterId)
A user-supplied cluster identifier.
|
DescribeSnapshotsRequest.Builder |
marker(String marker)
An optional marker returned from a prior request.
|
DescribeSnapshotsRequest.Builder |
maxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeSnapshotsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DescribeSnapshotsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DescribeSnapshotsRequest.Builder |
replicationGroupId(String replicationGroupId)
A user-supplied replication group identifier.
|
DescribeSnapshotsRequest.Builder |
showNodeGroupConfig(Boolean showNodeGroupConfig)
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
|
DescribeSnapshotsRequest.Builder |
snapshotName(String snapshotName)
A user-supplied name of the snapshot.
|
DescribeSnapshotsRequest.Builder |
snapshotSource(String snapshotSource)
If set to
system , the output shows snapshots that were automatically created by ElastiCache. |
build
overrideConfiguration
copy
applyMutation, build
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.
replicationGroupId
- A user-supplied replication group identifier. If this parameter is specified, only snapshots
associated with that specific replication group are described.DescribeSnapshotsRequest.Builder cacheClusterId(String cacheClusterId)
A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with that specific cluster are described.
cacheClusterId
- A user-supplied cluster identifier. If this parameter is specified, only snapshots associated with
that specific cluster are described.DescribeSnapshotsRequest.Builder snapshotName(String snapshotName)
A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are described.
snapshotName
- A user-supplied name of the snapshot. If this parameter is specified, only this snapshot are
described.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.
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.DescribeSnapshotsRequest.Builder marker(String 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
.
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
.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.
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.
DescribeSnapshotsRequest.Builder showNodeGroupConfig(Boolean showNodeGroupConfig)
A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
showNodeGroupConfig
- A Boolean value which if true, the node group (shard) configuration is included in the snapshot
description.DescribeSnapshotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeSnapshotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.