@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()
Indicates 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)
Indicates 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)
Indicates 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)
Indicates when the S3 bucket was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdAt
- Indicates when the S3 bucket was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getCreatedAt()
Indicates when the S3 bucket was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public AwsS3BucketDetails withCreatedAt(String createdAt)
Indicates when the S3 bucket was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdAt
- Indicates when the S3 bucket was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
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.