public static interface CopySnapshotRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CopySnapshotRequest.Builder,CopySnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CopySnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CopySnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CopySnapshotRequest.Builder |
sourceRegion(RegionName sourceRegion)
The AWS Region where the source snapshot is located.
|
CopySnapshotRequest.Builder |
sourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
|
CopySnapshotRequest.Builder |
sourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
|
CopySnapshotRequest.Builder |
targetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
|
build
overrideConfiguration
copy
applyMutation, build
CopySnapshotRequest.Builder sourceSnapshotName(String sourceSnapshotName)
The name of the source instance or disk snapshot to be copied.
sourceSnapshotName
- The name of the source instance or disk snapshot to be copied.CopySnapshotRequest.Builder targetSnapshotName(String targetSnapshotName)
The name of the new instance or disk snapshot to be created as a copy.
targetSnapshotName
- The name of the new instance or disk snapshot to be created as a copy.CopySnapshotRequest.Builder sourceRegion(String sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion
- The AWS Region where the source snapshot is located.RegionName
,
RegionName
CopySnapshotRequest.Builder sourceRegion(RegionName sourceRegion)
The AWS Region where the source snapshot is located.
sourceRegion
- The AWS Region where the source snapshot is located.RegionName
,
RegionName
CopySnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CopySnapshotRequest.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.