@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSnapshotBlocksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListSnapshotBlocksRequest() |
Modifier and Type | Method and Description |
---|---|
ListSnapshotBlocksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of blocks to be returned by the request.
|
String |
getNextToken()
The token to request the next page of results.
|
String |
getSnapshotId()
The ID of the snapshot from which to get block indexes and block tokens.
|
Integer |
getStartingBlockIndex()
The block index from which the list should start.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of blocks to be returned by the request.
|
void |
setNextToken(String nextToken)
The token to request the next page of results.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot from which to get block indexes and block tokens.
|
void |
setStartingBlockIndex(Integer startingBlockIndex)
The block index from which the list should start.
|
String |
toString()
Returns a string representation of this object.
|
ListSnapshotBlocksRequest |
withMaxResults(Integer maxResults)
The maximum number of blocks to be returned by the request.
|
ListSnapshotBlocksRequest |
withNextToken(String nextToken)
The token to request the next page of results.
|
ListSnapshotBlocksRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot from which to get block indexes and block tokens.
|
ListSnapshotBlocksRequest |
withStartingBlockIndex(Integer startingBlockIndex)
The block index from which the list should start.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSnapshotId(String snapshotId)
The ID of the snapshot from which to get block indexes and block tokens.
snapshotId
- The ID of the snapshot from which to get block indexes and block tokens.public String getSnapshotId()
The ID of the snapshot from which to get block indexes and block tokens.
public ListSnapshotBlocksRequest withSnapshotId(String snapshotId)
The ID of the snapshot from which to get block indexes and block tokens.
snapshotId
- The ID of the snapshot from which to get block indexes and block tokens.public void setNextToken(String nextToken)
The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
nextToken
- The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
public String getNextToken()
The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
If you specify NextToken, then StartingBlockIndex is ignored.
public ListSnapshotBlocksRequest withNextToken(String nextToken)
The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
nextToken
- The token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
public void setMaxResults(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 null
when there are no more blocks to return.
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.
public Integer getMaxResults()
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.
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.
public ListSnapshotBlocksRequest withMaxResults(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 null
when there are no more blocks to return.
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.
public void setStartingBlockIndex(Integer 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.
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.
public Integer getStartingBlockIndex()
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.
If you specify NextToken, then StartingBlockIndex is ignored.
public ListSnapshotBlocksRequest withStartingBlockIndex(Integer 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.
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.
public String toString()
toString
in class Object
Object.toString()
public ListSnapshotBlocksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()