public static interface CreateSnapshotRequest.Builder extends ElastiCacheRequest.Builder, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CreateSnapshotRequest.Builder |
cacheClusterId(String cacheClusterId)
The identifier of an existing cluster.
|
CreateSnapshotRequest.Builder |
replicationGroupId(String replicationGroupId)
The identifier of an existing replication group.
|
CreateSnapshotRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateSnapshotRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateSnapshotRequest.Builder |
snapshotName(String snapshotName)
A name for the snapshot being created.
|
build
requestOverrideConfig
copy
apply, build
CreateSnapshotRequest.Builder replicationGroupId(String replicationGroupId)
The identifier of an existing replication group. The snapshot is created from this replication group.
replicationGroupId
- The identifier of an existing replication group. The snapshot is created from this replication group.CreateSnapshotRequest.Builder cacheClusterId(String cacheClusterId)
The identifier of an existing cluster. The snapshot is created from this cluster.
cacheClusterId
- The identifier of an existing cluster. The snapshot is created from this cluster.CreateSnapshotRequest.Builder snapshotName(String snapshotName)
A name for the snapshot being created.
snapshotName
- A name for the snapshot being created.CreateSnapshotRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateSnapshotRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.