@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 number of results to return.
|
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 number of results to return.
|
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 number of results to return.
|
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.
nextToken
- The token to request the next page of results.public String getNextToken()
The token to request the next page of results.
public ListSnapshotBlocksRequest withNextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.public void setMaxResults(Integer maxResults)
The number of results to return.
maxResults
- The number of results to return.public Integer getMaxResults()
The number of results to return.
public ListSnapshotBlocksRequest withMaxResults(Integer maxResults)
The number of results to return.
maxResults
- The number of results 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.
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.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.
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.
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.public String toString()
toString
in class Object
Object.toString()
public ListSnapshotBlocksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.