@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Bucket extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an Amazon S3 bucket.
| Constructor and Description |
|---|
S3Bucket() |
| Modifier and Type | Method and Description |
|---|---|
S3Bucket |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the Amazon S3 bucket.
|
String |
getPrefix()
The object key to use.
|
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 |
setPrefix(String prefix)
The object key to use.
|
String |
toString()
Returns a string representation of this object.
|
S3Bucket |
withBucketName(String bucketName)
The name of the Amazon S3 bucket.
|
S3Bucket |
withPrefix(String prefix)
The object key to use.
|
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 S3Bucket withBucketName(String bucketName)
The name of the Amazon S3 bucket.
bucketName - The name of the Amazon S3 bucket.public void setPrefix(String prefix)
The object key to use.
prefix - The object key to use.public String getPrefix()
The object key to use.
public S3Bucket withPrefix(String prefix)
The object key to use.
prefix - The object key to use.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.