Interface ListChangedBlocksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListChangedBlocksResponse.Builder,ListChangedBlocksResponse>,EbsResponse.Builder,SdkBuilder<ListChangedBlocksResponse.Builder,ListChangedBlocksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListChangedBlocksResponse
public static interface ListChangedBlocksResponse.Builder extends EbsResponse.Builder, SdkPojo, CopyableBuilder<ListChangedBlocksResponse.Builder,ListChangedBlocksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChangedBlocksResponse.BuilderblockSize(Integer blockSize)The size of the blocks in the snapshot, in bytes.ListChangedBlocksResponse.BuilderchangedBlocks(Collection<ChangedBlock> changedBlocks)An array of objects containing information about the changed blocks.ListChangedBlocksResponse.BuilderchangedBlocks(Consumer<ChangedBlock.Builder>... changedBlocks)An array of objects containing information about the changed blocks.ListChangedBlocksResponse.BuilderchangedBlocks(ChangedBlock... changedBlocks)An array of objects containing information about the changed blocks.ListChangedBlocksResponse.BuilderexpiryTime(Instant expiryTime)The time when theBlockTokenexpires.ListChangedBlocksResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.ListChangedBlocksResponse.BuildervolumeSize(Long volumeSize)The size of the volume in GB.-
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
-
changedBlocks
ListChangedBlocksResponse.Builder changedBlocks(Collection<ChangedBlock> changedBlocks)
An array of objects containing information about the changed blocks.
- Parameters:
changedBlocks- An array of objects containing information about the changed blocks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changedBlocks
ListChangedBlocksResponse.Builder changedBlocks(ChangedBlock... changedBlocks)
An array of objects containing information about the changed blocks.
- Parameters:
changedBlocks- An array of objects containing information about the changed blocks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changedBlocks
ListChangedBlocksResponse.Builder changedBlocks(Consumer<ChangedBlock.Builder>... changedBlocks)
An array of objects containing information about the changed blocks.
This is a convenience method that creates an instance of theChangedBlock.Builderavoiding the need to create one manually viaChangedBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#changedBlocks(List.) - Parameters:
changedBlocks- a consumer that will call methods onChangedBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#changedBlocks(java.util.Collection)
-
expiryTime
ListChangedBlocksResponse.Builder expiryTime(Instant expiryTime)
The time when the
BlockTokenexpires.- Parameters:
expiryTime- The time when theBlockTokenexpires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSize
ListChangedBlocksResponse.Builder volumeSize(Long volumeSize)
The size of the volume in GB.
- Parameters:
volumeSize- The size of the volume in GB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockSize
ListChangedBlocksResponse.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.
-
nextToken
ListChangedBlocksResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-