Interface StartSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartSnapshotResponse.Builder,,StartSnapshotResponse> EbsResponse.Builder,SdkBuilder<StartSnapshotResponse.Builder,,StartSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartSnapshotResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe size of the blocks in the snapshot, in bytes.description(String description) The description of the snapshot.The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.The Amazon Web Services account ID of the snapshot owner.parentSnapshotId(String parentSnapshotId) The ID of the parent snapshot.snapshotId(String snapshotId) The ID of the snapshot.Reserved for future use.Reserved for future use.The timestamp when the snapshot was created.The status of the snapshot.The status of the snapshot.tags(Collection<Tag> tags) The tags applied to the snapshot.tags(Consumer<Tag.Builder>... tags) The tags applied to the snapshot.The tags applied to the snapshot.volumeSize(Long volumeSize) The size of the volume, in GiB.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ebs.model.EbsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
description
The description of the snapshot.
- Parameters:
description- The description of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
The ID of the snapshot.
- Parameters:
snapshotId- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The Amazon Web Services account ID of the snapshot owner.
- Parameters:
ownerId- The Amazon Web Services account ID of the snapshot owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the snapshot.
- Parameters:
status- The status of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the snapshot.
- Parameters:
status- The status of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The timestamp when the snapshot was created.
- Parameters:
startTime- The timestamp when the snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSize
The size of the volume, in GiB.
- Parameters:
volumeSize- The size of the volume, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockSize
The size of the blocks in the snapshot, in bytes.
- Parameters:
blockSize- The size of the blocks in the snapshot, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parentSnapshotId
The ID of the parent snapshot.
- Parameters:
parentSnapshotId- The ID of the parent snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseType
Reserved for future use.
- Parameters:
sseType- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sseType
Reserved for future use.
- Parameters:
sseType- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-