@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Object extends Object implements Serializable, Cloneable, StructuredPojo
Contains the S3 bucket name and the Amazon S3 key name.
Constructor and Description |
---|
S3Object() |
Modifier and Type | Method and Description |
---|---|
S3Object |
clone() |
boolean |
equals(Object obj) |
String |
getS3Bucket()
The S3 bucket name.
|
String |
getS3key()
The Amazon S3 key name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Bucket(String s3Bucket)
The S3 bucket name.
|
void |
setS3key(String s3key)
The Amazon S3 key name.
|
String |
toString()
Returns a string representation of this object.
|
S3Object |
withS3Bucket(String s3Bucket)
The S3 bucket name.
|
S3Object |
withS3key(String s3key)
The Amazon S3 key name.
|
public void setS3Bucket(String s3Bucket)
The S3 bucket name.
s3Bucket
- The S3 bucket name.public String getS3Bucket()
The S3 bucket name.
public S3Object withS3Bucket(String s3Bucket)
The S3 bucket name.
s3Bucket
- The S3 bucket name.public void setS3key(String s3key)
The Amazon S3 key name.
s3key
- The Amazon S3 key name.public String getS3key()
The Amazon S3 key name.
public S3Object withS3key(String s3key)
The Amazon S3 key name.
s3key
- The Amazon S3 key name.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.