@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangedBlock extends Object implements Serializable, Cloneable, StructuredPojo
A block of data in an Amazon Elastic Block Store snapshot that is different from another snapshot of the same volume/snapshot lineage.
Constructor and Description |
---|
ChangedBlock() |
Modifier and Type | Method and Description |
---|---|
ChangedBlock |
clone() |
boolean |
equals(Object obj) |
Integer |
getBlockIndex()
The block index.
|
String |
getFirstBlockToken()
The block token for the block index of the
first snapshot ID specified in the
list changed blocks operation. |
String |
getSecondBlockToken()
The block token for the block index of the
second snapshot ID specified in the
list changed blocks operation. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlockIndex(Integer blockIndex)
The block index.
|
void |
setFirstBlockToken(String firstBlockToken)
The block token for the block index of the
first snapshot ID specified in the
list changed blocks operation. |
void |
setSecondBlockToken(String secondBlockToken)
The block token for the block index of the
second snapshot ID specified in the
list changed blocks operation. |
String |
toString()
Returns a string representation of this object.
|
ChangedBlock |
withBlockIndex(Integer blockIndex)
The block index.
|
ChangedBlock |
withFirstBlockToken(String firstBlockToken)
The block token for the block index of the
first snapshot ID specified in the
list changed blocks operation. |
ChangedBlock |
withSecondBlockToken(String secondBlockToken)
The block token for the block index of the
second snapshot ID specified in the
list changed blocks operation. |
public void setBlockIndex(Integer blockIndex)
The block index.
blockIndex
- The block index.public Integer getBlockIndex()
The block index.
public ChangedBlock withBlockIndex(Integer blockIndex)
The block index.
blockIndex
- The block index.public void setFirstBlockToken(String firstBlockToken)
The block token for the block index of the first snapshot ID
specified in the
list changed blocks
operation. This value is absent if the first snapshot does not have the changed
block that is on the second snapshot.
firstBlockToken
- The block token for the block index of the first snapshot ID
specified in the
list changed blocks
operation. This value is absent if the first snapshot does not have the
changed block that is on the second snapshot.public String getFirstBlockToken()
The block token for the block index of the first snapshot ID
specified in the
list changed blocks
operation. This value is absent if the first snapshot does not have the changed
block that is on the second snapshot.
first snapshot ID
specified in the
list changed blocks
operation. This value is absent if the first snapshot does not have the
changed block that is on the second snapshot.public ChangedBlock withFirstBlockToken(String firstBlockToken)
The block token for the block index of the first snapshot ID
specified in the
list changed blocks
operation. This value is absent if the first snapshot does not have the changed
block that is on the second snapshot.
firstBlockToken
- The block token for the block index of the first snapshot ID
specified in the
list changed blocks
operation. This value is absent if the first snapshot does not have the
changed block that is on the second snapshot.public void setSecondBlockToken(String secondBlockToken)
The block token for the block index of the second snapshot ID
specified in the
list changed blocks
operation.
secondBlockToken
- The block token for the block index of the second snapshot ID
specified in the
list changed blocks
operation.public String getSecondBlockToken()
The block token for the block index of the second snapshot ID
specified in the
list changed blocks
operation.
second snapshot ID
specified in the
list changed blocks
operation.public ChangedBlock withSecondBlockToken(String secondBlockToken)
The block token for the block index of the second snapshot ID
specified in the
list changed blocks
operation.
secondBlockToken
- The block token for the block index of the second snapshot ID
specified in the
list changed blocks
operation.public String toString()
toString
in class Object
Object.toString()
public ChangedBlock clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.