@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketDetails extends Object implements Serializable, Cloneable, StructuredPojo
The details of an Amazon S3 bucket.
Constructor and Description |
---|
AwsS3BucketDetails() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCreatedAt()
The date and time when the S3 bucket was created.
|
String |
getOwnerId()
The canonical user ID of the owner of the S3 bucket.
|
String |
getOwnerName()
The display name of the owner of the S3 bucket.
|
AwsS3BucketServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The encryption rules that are applied to the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(String createdAt)
The date and time when the S3 bucket was created.
|
void |
setOwnerId(String ownerId)
The canonical user ID of the owner of the S3 bucket.
|
void |
setOwnerName(String ownerName)
The display name of the owner of the S3 bucket.
|
void |
setServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The encryption rules that are applied to the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketDetails |
withCreatedAt(String createdAt)
The date and time when the S3 bucket was created.
|
AwsS3BucketDetails |
withOwnerId(String ownerId)
The canonical user ID of the owner of the S3 bucket.
|
AwsS3BucketDetails |
withOwnerName(String ownerName)
The display name of the owner of the S3 bucket.
|
AwsS3BucketDetails |
withServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The encryption rules that are applied to the S3 bucket.
|
public void setOwnerId(String ownerId)
The canonical user ID of the owner of the S3 bucket.
ownerId
- The canonical user ID of the owner of the S3 bucket.public String getOwnerId()
The canonical user ID of the owner of the S3 bucket.
public AwsS3BucketDetails withOwnerId(String ownerId)
The canonical user ID of the owner of the S3 bucket.
ownerId
- The canonical user ID of the owner of the S3 bucket.public void setOwnerName(String ownerName)
The display name of the owner of the S3 bucket.
ownerName
- The display name of the owner of the S3 bucket.public String getOwnerName()
The display name of the owner of the S3 bucket.
public AwsS3BucketDetails withOwnerName(String ownerName)
The display name of the owner of the S3 bucket.
ownerName
- The display name of the owner of the S3 bucket.public void setCreatedAt(String createdAt)
The date and time when the S3 bucket was created.
createdAt
- The date and time when the S3 bucket was created.public String getCreatedAt()
The date and time when the S3 bucket was created.
public AwsS3BucketDetails withCreatedAt(String createdAt)
The date and time when the S3 bucket was created.
createdAt
- The date and time when the S3 bucket was created.public void setServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The encryption rules that are applied to the S3 bucket.
serverSideEncryptionConfiguration
- The encryption rules that are applied to the S3 bucket.public AwsS3BucketServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
The encryption rules that are applied to the S3 bucket.
public AwsS3BucketDetails withServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The encryption rules that are applied to the S3 bucket.
serverSideEncryptionConfiguration
- The encryption rules that are applied to the S3 bucket.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.