Interface ListChangedBlocksRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListChangedBlocksRequest.Builder,ListChangedBlocksRequest>,EbsRequest.Builder,SdkBuilder<ListChangedBlocksRequest.Builder,ListChangedBlocksRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListChangedBlocksRequest
public static interface ListChangedBlocksRequest.Builder extends EbsRequest.Builder, SdkPojo, CopyableBuilder<ListChangedBlocksRequest.Builder,ListChangedBlocksRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChangedBlocksRequest.BuilderfirstSnapshotId(String firstSnapshotId)The ID of the first snapshot to use for the comparison.ListChangedBlocksRequest.BuildermaxResults(Integer maxResults)The maximum number of blocks to be returned by the request.ListChangedBlocksRequest.BuildernextToken(String nextToken)The token to request the next page of results.ListChangedBlocksRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListChangedBlocksRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListChangedBlocksRequest.BuildersecondSnapshotId(String secondSnapshotId)The ID of the second snapshot to use for the comparison.ListChangedBlocksRequest.BuilderstartingBlockIndex(Integer startingBlockIndex)The block index from which the comparison 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 Detail
-
firstSnapshotId
ListChangedBlocksRequest.Builder firstSnapshotId(String firstSnapshotId)
The ID of the first snapshot to use for the comparison.
The
FirstSnapshotIDparameter must be specified with aSecondSnapshotIdparameter; otherwise, an error occurs.- Parameters:
firstSnapshotId- The ID of the first snapshot to use for the comparison.The
FirstSnapshotIDparameter must be specified with aSecondSnapshotIdparameter; otherwise, an error occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondSnapshotId
ListChangedBlocksRequest.Builder secondSnapshotId(String secondSnapshotId)
The ID of the second snapshot to use for the comparison.
The
SecondSnapshotIdparameter must be specified with aFirstSnapshotIDparameter; otherwise, an error occurs.- Parameters:
secondSnapshotId- The ID of the second snapshot to use for the comparison.The
SecondSnapshotIdparameter must be specified with aFirstSnapshotIDparameter; otherwise, an error occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListChangedBlocksRequest.Builder nextToken(String 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
ListChangedBlocksRequest.Builder maxResults(Integer 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
nullwhen 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
nullwhen there are no more blocks to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingBlockIndex
ListChangedBlocksRequest.Builder startingBlockIndex(Integer startingBlockIndex)
The block index from which the comparison should start.
The list in the response will start from this block index or the next valid block index in the snapshots.
If you specify NextToken, then StartingBlockIndex is ignored.
- Parameters:
startingBlockIndex- The block index from which the comparison should start.The list in the response will start from this block index or the next valid block index in the snapshots.
If you specify NextToken, then StartingBlockIndex is ignored.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListChangedBlocksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListChangedBlocksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-