public static interface StartSnapshotResponse.Builder extends EbsResponse.Builder, SdkPojo, CopyableBuilder<StartSnapshotResponse.Builder,StartSnapshotResponse>
| Modifier and Type | Method and Description |
|---|---|
StartSnapshotResponse.Builder |
blockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
|
StartSnapshotResponse.Builder |
description(String description)
The description of the snapshot.
|
StartSnapshotResponse.Builder |
kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
|
StartSnapshotResponse.Builder |
ownerId(String ownerId)
The Amazon Web Services account ID of the snapshot owner.
|
StartSnapshotResponse.Builder |
parentSnapshotId(String parentSnapshotId)
The ID of the parent snapshot.
|
StartSnapshotResponse.Builder |
snapshotId(String snapshotId)
The ID of the snapshot.
|
StartSnapshotResponse.Builder |
sseType(SSEType sseType)
Reserved for future use.
|
StartSnapshotResponse.Builder |
sseType(String sseType)
Reserved for future use.
|
StartSnapshotResponse.Builder |
startTime(Instant startTime)
The timestamp when the snapshot was created.
|
StartSnapshotResponse.Builder |
status(Status status)
The status of the snapshot.
|
StartSnapshotResponse.Builder |
status(String status)
The status of the snapshot.
|
StartSnapshotResponse.Builder |
tags(Collection<Tag> tags)
The tags applied to the snapshot.
|
StartSnapshotResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags applied to the snapshot.
|
StartSnapshotResponse.Builder |
tags(Tag... tags)
The tags applied to the snapshot.
|
StartSnapshotResponse.Builder |
volumeSize(Long volumeSize)
The size of the volume, in GiB.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartSnapshotResponse.Builder description(String description)
The description of the snapshot.
description - The description of the snapshot.StartSnapshotResponse.Builder snapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.StartSnapshotResponse.Builder ownerId(String ownerId)
The Amazon Web Services account ID of the snapshot owner.
ownerId - The Amazon Web Services account ID of the snapshot owner.StartSnapshotResponse.Builder status(String status)
The status of the snapshot.
StartSnapshotResponse.Builder status(Status status)
The status of the snapshot.
StartSnapshotResponse.Builder startTime(Instant startTime)
The timestamp when the snapshot was created.
startTime - The timestamp when the snapshot was created.StartSnapshotResponse.Builder volumeSize(Long volumeSize)
The size of the volume, in GiB.
volumeSize - The size of the volume, in GiB.StartSnapshotResponse.Builder blockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
blockSize - The size of the blocks in the snapshot, in bytes.StartSnapshotResponse.Builder tags(Collection<Tag> tags)
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
tags - The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information,
see Tagging your Amazon
EC2 resources in the Amazon Elastic Compute Cloud User Guide.StartSnapshotResponse.Builder tags(Tag... tags)
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
tags - The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information,
see Tagging your Amazon
EC2 resources in the Amazon Elastic Compute Cloud User Guide.StartSnapshotResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) StartSnapshotResponse.Builder parentSnapshotId(String parentSnapshotId)
The ID of the parent snapshot.
parentSnapshotId - The ID of the parent snapshot.StartSnapshotResponse.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
kmsKeyArn - The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.StartSnapshotResponse.Builder sseType(String sseType)
Reserved for future use.
StartSnapshotResponse.Builder sseType(SSEType sseType)
Reserved for future use.
Copyright © 2023. All rights reserved.