@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Block extends Object implements Serializable, Cloneable, StructuredPojo
A block of data in an Amazon Elastic Block Store snapshot.
| Constructor and Description |
|---|
Block() |
| Modifier and Type | Method and Description |
|---|---|
Block |
clone() |
boolean |
equals(Object obj) |
Integer |
getBlockIndex()
The block index.
|
String |
getBlockToken()
The block token for the block index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBlockIndex(Integer blockIndex)
The block index.
|
void |
setBlockToken(String blockToken)
The block token for the block index.
|
String |
toString()
Returns a string representation of this object.
|
Block |
withBlockIndex(Integer blockIndex)
The block index.
|
Block |
withBlockToken(String blockToken)
The block token for the block index.
|
public void setBlockIndex(Integer blockIndex)
The block index.
blockIndex - The block index.public Integer getBlockIndex()
The block index.
public Block withBlockIndex(Integer blockIndex)
The block index.
blockIndex - The block index.public void setBlockToken(String blockToken)
The block token for the block index.
blockToken - The block token for the block index.public String getBlockToken()
The block token for the block index.
public Block withBlockToken(String blockToken)
The block token for the block index.
blockToken - The block token for the block index.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.