@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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.