Interface ListSnapshotBlocksRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListSnapshotBlocksRequest.Builder,
,ListSnapshotBlocksRequest> EbsRequest.Builder
,SdkBuilder<ListSnapshotBlocksRequest.Builder,
,ListSnapshotBlocksRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListSnapshotBlocksRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of blocks to be returned by the request.The token to request the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotId
(String snapshotId) The ID of the snapshot from which to get block indexes and block tokens.startingBlockIndex
(Integer startingBlockIndex) The block index from which the list should start.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ebs.model.EbsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
snapshotId
The ID of the snapshot from which to get block indexes and block tokens.
- Parameters:
snapshotId
- The ID of the snapshot from which to get block indexes and block tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
- Parameters:
nextToken
- The token to request the next page of results.If you specify NextToken, then StartingBlockIndex is ignored.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of blocks to be returned by the request.
Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.
To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is
null
when there are no more blocks to return.- Parameters:
maxResults
- The maximum number of blocks to be returned by the request.Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.
To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is
null
when there are no more blocks to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingBlockIndex
The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.
If you specify NextToken, then StartingBlockIndex is ignored.
- Parameters:
startingBlockIndex
- The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.If you specify NextToken, then StartingBlockIndex is ignored.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSnapshotBlocksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListSnapshotBlocksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-