@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Location of an Amazon S3 object.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 bucket name.
|
String |
getKey()
The Amazon S3 bucket key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The Amazon S3 bucket name.
|
void |
setKey(String key)
The Amazon S3 bucket key.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucket(String bucket)
The Amazon S3 bucket name.
|
S3Location |
withKey(String key)
The Amazon S3 bucket key.
|
public void setBucket(String bucket)
The Amazon S3 bucket name.
bucket
- The Amazon S3 bucket name.public String getBucket()
The Amazon S3 bucket name.
public S3Location withBucket(String bucket)
The Amazon S3 bucket name.
bucket
- The Amazon S3 bucket name.public void setKey(String key)
The Amazon S3 bucket key.
key
- The Amazon S3 bucket key.public String getKey()
The Amazon S3 bucket key.
public S3Location withKey(String key)
The Amazon S3 bucket key.
key
- The Amazon S3 bucket key.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.