@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSnapshotBlockRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetSnapshotBlockRequest() |
Modifier and Type | Method and Description |
---|---|
GetSnapshotBlockRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getBlockIndex()
The block index of the block from which to get data.
|
String |
getBlockToken()
The block token of the block from which to get data.
|
String |
getSnapshotId()
The ID of the snapshot containing the block from which to get data.
|
int |
hashCode() |
void |
setBlockIndex(Integer blockIndex)
The block index of the block from which to get data.
|
void |
setBlockToken(String blockToken)
The block token of the block from which to get data.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
|
String |
toString()
Returns a string representation of this object.
|
GetSnapshotBlockRequest |
withBlockIndex(Integer blockIndex)
The block index of the block from which to get data.
|
GetSnapshotBlockRequest |
withBlockToken(String blockToken)
The block token of the block from which to get data.
|
GetSnapshotBlockRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
|
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 containing the block from which to get data.
snapshotId
- The ID of the snapshot containing the block from which to get data.public String getSnapshotId()
The ID of the snapshot containing the block from which to get data.
public GetSnapshotBlockRequest withSnapshotId(String snapshotId)
The ID of the snapshot containing the block from which to get data.
snapshotId
- The ID of the snapshot containing the block from which to get data.public void setBlockIndex(Integer blockIndex)
The block index of the block from which to get data.
Obtain the BlockIndex
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
blockIndex
- The block index of the block from which to get data.
Obtain the BlockIndex
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
public Integer getBlockIndex()
The block index of the block from which to get data.
Obtain the BlockIndex
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
Obtain the BlockIndex
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
public GetSnapshotBlockRequest withBlockIndex(Integer blockIndex)
The block index of the block from which to get data.
Obtain the BlockIndex
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
blockIndex
- The block index of the block from which to get data.
Obtain the BlockIndex
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
public void setBlockToken(String blockToken)
The block token of the block from which to get data.
Obtain the BlockToken
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
blockToken
- The block token of the block from which to get data.
Obtain the BlockToken
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
public String getBlockToken()
The block token of the block from which to get data.
Obtain the BlockToken
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
Obtain the BlockToken
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
public GetSnapshotBlockRequest withBlockToken(String blockToken)
The block token of the block from which to get data.
Obtain the BlockToken
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
blockToken
- The block token of the block from which to get data.
Obtain the BlockToken
by running the ListChangedBlocks
or
ListSnapshotBlocks
operations.
public String toString()
toString
in class Object
Object.toString()
public GetSnapshotBlockRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()