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.,
Disk-Virginia-1). |
CreateDiskSnapshotRequest.Builder |
diskSnapshotName(String diskSnapshotName)
The name of the destination disk snapshot (e.g.,
my-disk-snapshot) based on the source disk. |
CreateDiskSnapshotRequest.Builder |
instanceName(String instanceName)
The unique name of the source instance (e.g.,
Amazon_Linux-512MB-Virginia-1). |
CreateDiskSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDiskSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDiskSnapshotRequest.Builder diskName(String diskName)
The unique name of the source disk (e.g., Disk-Virginia-1).
This parameter cannot be defined together with the instance name parameter. The
disk name and instance name parameters are mutually exclusive.
diskName - The unique name of the source disk (e.g., Disk-Virginia-1).
This parameter cannot be defined together with the instance name parameter. The
disk name and instance name parameters are mutually exclusive.
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 instanceName(String instanceName)
The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is
defined, a snapshot of the instance's system volume is created.
This parameter cannot be defined together with the disk name parameter. The
instance name and disk name parameters are mutually exclusive.
instanceName - The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this
is defined, a snapshot of the instance's system volume is created.
This parameter cannot be defined together with the disk name parameter. The
instance name and disk name parameters are mutually exclusive.
CreateDiskSnapshotRequest.Builder tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
CreateDiskSnapshotRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
CreateDiskSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
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)
overrideConfiguration in interface AwsRequest.BuilderCreateDiskSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.