@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3SnapshotAsset extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 object that is the asset.
| Constructor and Description |
|---|
S3SnapshotAsset() |
| Modifier and Type | Method and Description |
|---|---|
S3SnapshotAsset |
clone() |
boolean |
equals(Object obj) |
Double |
getSize()
The size of the Amazon S3 object that is the object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSize(Double size)
The size of the Amazon S3 object that is the object.
|
String |
toString()
Returns a string representation of this object.
|
S3SnapshotAsset |
withSize(Double size)
The size of the Amazon S3 object that is the object.
|
public void setSize(Double size)
The size of the Amazon S3 object that is the object.
size - The size of the Amazon S3 object that is the object.public Double getSize()
The size of the Amazon S3 object that is the object.
public S3SnapshotAsset withSize(Double size)
The size of the Amazon S3 object that is the object.
size - The size of the Amazon S3 object that is the object.public String toString()
toString in class ObjectObject.toString()public S3SnapshotAsset clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.