@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualObject extends Object implements Serializable, Cloneable, StructuredPojo
An object that defines an Amazon S3 object to be deleted if a transaction cancels, provided that
VirtualPut was called before writing the object.
| Constructor and Description |
|---|
VirtualObject() |
| Modifier and Type | Method and Description |
|---|---|
VirtualObject |
clone() |
boolean |
equals(Object obj) |
String |
getETag()
The ETag of the Amazon S3 object.
|
String |
getUri()
The path to the Amazon S3 object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setETag(String eTag)
The ETag of the Amazon S3 object.
|
void |
setUri(String uri)
The path to the Amazon S3 object.
|
String |
toString()
Returns a string representation of this object.
|
VirtualObject |
withETag(String eTag)
The ETag of the Amazon S3 object.
|
VirtualObject |
withUri(String uri)
The path to the Amazon S3 object.
|
public void setUri(String uri)
The path to the Amazon S3 object. Must start with s3://
uri - The path to the Amazon S3 object. Must start with s3://public String getUri()
The path to the Amazon S3 object. Must start with s3://
public VirtualObject withUri(String uri)
The path to the Amazon S3 object. Must start with s3://
uri - The path to the Amazon S3 object. Must start with s3://public void setETag(String eTag)
The ETag of the Amazon S3 object.
eTag - The ETag of the Amazon S3 object.public String getETag()
The ETag of the Amazon S3 object.
public VirtualObject withETag(String eTag)
The ETag of the Amazon S3 object.
eTag - The ETag of the Amazon S3 object.public String toString()
toString in class ObjectObject.toString()public VirtualObject clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.