public static interface CreateDiskSnapshotRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateDiskSnapshotRequest.Builder,CreateDiskSnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDiskSnapshotRequest.Builder |
diskName(String diskName)
The unique name of the source disk (e.g.,
my-source-disk). |
CreateDiskSnapshotRequest.Builder |
diskSnapshotName(String diskSnapshotName)
The name of the destination disk snapshot (e.g.,
my-disk-snapshot) based on the source disk. |
CreateDiskSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDiskSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDiskSnapshotRequest.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
CreateDiskSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
|
CreateDiskSnapshotRequest.Builder |
tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
|
buildoverrideConfigurationcopyapplyMutation, buildCreateDiskSnapshotRequest.Builder diskName(String diskName)
The unique name of the source disk (e.g., my-source-disk).
diskName - The unique name of the source disk (e.g., my-source-disk).CreateDiskSnapshotRequest.Builder diskSnapshotName(String diskSnapshotName)
The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.
diskSnapshotName - The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source
disk.CreateDiskSnapshotRequest.Builder tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
tags - The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
CreateDiskSnapshotRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
tags - The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
CreateDiskSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
List.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateDiskSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateDiskSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.