@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
A location in Amazon S3.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
A bucket name.
|
String |
getObjectKey()
An object key.
|
String |
getRegion()
The bucket's Region.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
A bucket name.
|
void |
setObjectKey(String objectKey)
An object key.
|
void |
setRegion(String region)
The bucket's Region.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucketName(String bucketName)
A bucket name.
|
S3Location |
withObjectKey(String objectKey)
An object key.
|
S3Location |
withRegion(String region)
The bucket's Region.
|
public void setBucketName(String bucketName)
A bucket name.
bucketName
- A bucket name.public String getBucketName()
A bucket name.
public S3Location withBucketName(String bucketName)
A bucket name.
bucketName
- A bucket name.public void setObjectKey(String objectKey)
An object key.
objectKey
- An object key.public String getObjectKey()
An object key.
public S3Location withObjectKey(String objectKey)
An object key.
objectKey
- An object key.public void setRegion(String region)
The bucket's Region.
region
- The bucket's Region.public String getRegion()
The bucket's Region.
public S3Location withRegion(String region)
The bucket's Region.
region
- The bucket's Region.public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.