@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 location information.
| Constructor and Description |
|---|
S3Location() |
| Modifier and Type | Method and Description |
|---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the Amazon S3 bucket.
|
String |
getKey()
The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBucketName(String bucketName)
The name of the Amazon S3 bucket.
|
void |
setKey(String key)
The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucketName(String bucketName)
The name of the Amazon S3 bucket.
|
S3Location |
withKey(String key)
The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.
|
public void setBucketName(String bucketName)
The name of the Amazon S3 bucket.
bucketName - The name of the Amazon S3 bucket.public String getBucketName()
The name of the Amazon S3 bucket.
public S3Location withBucketName(String bucketName)
The name of the Amazon S3 bucket.
bucketName - The name of the Amazon S3 bucket.public void setKey(String key)
The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.
key - The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.public String getKey()
The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.
public S3Location withKey(String key)
The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.
key - The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.public String toString()
toString in class ObjectObject.toString()public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.