Interface StartSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartSnapshotResponse.Builder,StartSnapshotResponse>,EbsResponse.Builder,SdkBuilder<StartSnapshotResponse.Builder,StartSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartSnapshotResponse
public static interface StartSnapshotResponse.Builder extends EbsResponse.Builder, SdkPojo, CopyableBuilder<StartSnapshotResponse.Builder,StartSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartSnapshotResponse.BuilderblockSize(Integer blockSize)The size of the blocks in the snapshot, in bytes.StartSnapshotResponse.Builderdescription(String description)The description of the snapshot.StartSnapshotResponse.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.StartSnapshotResponse.BuilderownerId(String ownerId)The Amazon Web Services account ID of the snapshot owner.StartSnapshotResponse.BuilderparentSnapshotId(String parentSnapshotId)The ID of the parent snapshot.StartSnapshotResponse.BuildersnapshotId(String snapshotId)The ID of the snapshot.StartSnapshotResponse.BuildersseType(String sseType)Reserved for future use.StartSnapshotResponse.BuildersseType(SSEType sseType)Reserved for future use.StartSnapshotResponse.BuilderstartTime(Instant startTime)The timestamp when the snapshot was created.StartSnapshotResponse.Builderstatus(String status)The status of the snapshot.StartSnapshotResponse.Builderstatus(Status status)The status of the snapshot.StartSnapshotResponse.Buildertags(Collection<Tag> tags)The tags applied to the snapshot.StartSnapshotResponse.Buildertags(Consumer<Tag.Builder>... tags)The tags applied to the snapshot.StartSnapshotResponse.Buildertags(Tag... tags)The tags applied to the snapshot.StartSnapshotResponse.BuildervolumeSize(Long volumeSize)The size of the volume, in GiB.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ebs.model.EbsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
description
StartSnapshotResponse.Builder description(String 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
StartSnapshotResponse.Builder snapshotId(String 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
StartSnapshotResponse.Builder ownerId(String 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
StartSnapshotResponse.Builder status(String status)
The status of the snapshot.
-
status
StartSnapshotResponse.Builder status(Status status)
The status of the snapshot.
-
startTime
StartSnapshotResponse.Builder startTime(Instant 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
StartSnapshotResponse.Builder volumeSize(Long 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
StartSnapshotResponse.Builder blockSize(Integer 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
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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
parentSnapshotId
StartSnapshotResponse.Builder parentSnapshotId(String 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
StartSnapshotResponse.Builder kmsKeyArn(String 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
StartSnapshotResponse.Builder sseType(String sseType)
Reserved for future use.
-
sseType
StartSnapshotResponse.Builder sseType(SSEType sseType)
Reserved for future use.
-
-