@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 |
getAccessControlList()
The access control list for the S3 bucket.
|
AwsS3BucketBucketLifecycleConfigurationDetails |
getBucketLifecycleConfiguration()
The lifecycle configuration for objects in the S3 bucket.
|
AwsS3BucketLoggingConfiguration |
getBucketLoggingConfiguration()
The logging configuration for the S3 bucket.
|
AwsS3BucketNotificationConfiguration |
getBucketNotificationConfiguration()
The notification configuration for the S3 bucket.
|
AwsS3BucketBucketVersioningConfiguration |
getBucketVersioningConfiguration()
The versioning state of an S3 bucket.
|
AwsS3BucketWebsiteConfiguration |
getBucketWebsiteConfiguration()
The website configuration parameters for the S3 bucket.
|
String |
getCreatedAt()
Indicates when the S3 bucket was created.
|
AwsS3BucketObjectLockConfiguration |
getObjectLockConfiguration()
Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.
|
String |
getOwnerAccountId()
The Amazon Web Services account identifier of the account that owns the S3 bucket.
|
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.
|
AwsS3AccountPublicAccessBlockDetails |
getPublicAccessBlockConfiguration()
Provides information about the Amazon S3 Public Access Block configuration for 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 |
setAccessControlList(String accessControlList)
The access control list for the S3 bucket.
|
void |
setBucketLifecycleConfiguration(AwsS3BucketBucketLifecycleConfigurationDetails bucketLifecycleConfiguration)
The lifecycle configuration for objects in the S3 bucket.
|
void |
setBucketLoggingConfiguration(AwsS3BucketLoggingConfiguration bucketLoggingConfiguration)
The logging configuration for the S3 bucket.
|
void |
setBucketNotificationConfiguration(AwsS3BucketNotificationConfiguration bucketNotificationConfiguration)
The notification configuration for the S3 bucket.
|
void |
setBucketVersioningConfiguration(AwsS3BucketBucketVersioningConfiguration bucketVersioningConfiguration)
The versioning state of an S3 bucket.
|
void |
setBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration bucketWebsiteConfiguration)
The website configuration parameters for the S3 bucket.
|
void |
setCreatedAt(String createdAt)
Indicates when the S3 bucket was created.
|
void |
setObjectLockConfiguration(AwsS3BucketObjectLockConfiguration objectLockConfiguration)
Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.
|
void |
setOwnerAccountId(String ownerAccountId)
The Amazon Web Services account identifier of the account that owns the S3 bucket.
|
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 |
setPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration)
Provides information about the Amazon S3 Public Access Block configuration for 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 |
withAccessControlList(String accessControlList)
The access control list for the S3 bucket.
|
AwsS3BucketDetails |
withBucketLifecycleConfiguration(AwsS3BucketBucketLifecycleConfigurationDetails bucketLifecycleConfiguration)
The lifecycle configuration for objects in the S3 bucket.
|
AwsS3BucketDetails |
withBucketLoggingConfiguration(AwsS3BucketLoggingConfiguration bucketLoggingConfiguration)
The logging configuration for the S3 bucket.
|
AwsS3BucketDetails |
withBucketNotificationConfiguration(AwsS3BucketNotificationConfiguration bucketNotificationConfiguration)
The notification configuration for the S3 bucket.
|
AwsS3BucketDetails |
withBucketVersioningConfiguration(AwsS3BucketBucketVersioningConfiguration bucketVersioningConfiguration)
The versioning state of an S3 bucket.
|
AwsS3BucketDetails |
withBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration bucketWebsiteConfiguration)
The website configuration parameters for the S3 bucket.
|
AwsS3BucketDetails |
withCreatedAt(String createdAt)
Indicates when the S3 bucket was created.
|
AwsS3BucketDetails |
withObjectLockConfiguration(AwsS3BucketObjectLockConfiguration objectLockConfiguration)
Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.
|
AwsS3BucketDetails |
withOwnerAccountId(String ownerAccountId)
The Amazon Web Services account identifier of the account that owns the S3 bucket.
|
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 |
withPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration)
Provides information about the Amazon S3 Public Access Block configuration for 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 setOwnerAccountId(String ownerAccountId)
The Amazon Web Services account identifier of the account that owns the S3 bucket.
ownerAccountId
- The Amazon Web Services account identifier of the account that owns the S3 bucket.public String getOwnerAccountId()
The Amazon Web Services account identifier of the account that owns the S3 bucket.
public AwsS3BucketDetails withOwnerAccountId(String ownerAccountId)
The Amazon Web Services account identifier of the account that owns the S3 bucket.
ownerAccountId
- The Amazon Web Services account identifier of the account that owns 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, and date and time should be
separated by T
. 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, and date and time should be separated by T
. 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, and date and time should be
separated by T
. 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, and date and time should be separated by T
. 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, and date and time should be
separated by T
. 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, and date and time should be separated by T
. 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 void setBucketLifecycleConfiguration(AwsS3BucketBucketLifecycleConfigurationDetails bucketLifecycleConfiguration)
The lifecycle configuration for objects in the S3 bucket.
bucketLifecycleConfiguration
- The lifecycle configuration for objects in the S3 bucket.public AwsS3BucketBucketLifecycleConfigurationDetails getBucketLifecycleConfiguration()
The lifecycle configuration for objects in the S3 bucket.
public AwsS3BucketDetails withBucketLifecycleConfiguration(AwsS3BucketBucketLifecycleConfigurationDetails bucketLifecycleConfiguration)
The lifecycle configuration for objects in the S3 bucket.
bucketLifecycleConfiguration
- The lifecycle configuration for objects in the S3 bucket.public void setPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration)
Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
publicAccessBlockConfiguration
- Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.public AwsS3AccountPublicAccessBlockDetails getPublicAccessBlockConfiguration()
Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
public AwsS3BucketDetails withPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration)
Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
publicAccessBlockConfiguration
- Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.public void setAccessControlList(String accessControlList)
The access control list for the S3 bucket.
accessControlList
- The access control list for the S3 bucket.public String getAccessControlList()
The access control list for the S3 bucket.
public AwsS3BucketDetails withAccessControlList(String accessControlList)
The access control list for the S3 bucket.
accessControlList
- The access control list for the S3 bucket.public void setBucketLoggingConfiguration(AwsS3BucketLoggingConfiguration bucketLoggingConfiguration)
The logging configuration for the S3 bucket.
bucketLoggingConfiguration
- The logging configuration for the S3 bucket.public AwsS3BucketLoggingConfiguration getBucketLoggingConfiguration()
The logging configuration for the S3 bucket.
public AwsS3BucketDetails withBucketLoggingConfiguration(AwsS3BucketLoggingConfiguration bucketLoggingConfiguration)
The logging configuration for the S3 bucket.
bucketLoggingConfiguration
- The logging configuration for the S3 bucket.public void setBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration bucketWebsiteConfiguration)
The website configuration parameters for the S3 bucket.
bucketWebsiteConfiguration
- The website configuration parameters for the S3 bucket.public AwsS3BucketWebsiteConfiguration getBucketWebsiteConfiguration()
The website configuration parameters for the S3 bucket.
public AwsS3BucketDetails withBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration bucketWebsiteConfiguration)
The website configuration parameters for the S3 bucket.
bucketWebsiteConfiguration
- The website configuration parameters for the S3 bucket.public void setBucketNotificationConfiguration(AwsS3BucketNotificationConfiguration bucketNotificationConfiguration)
The notification configuration for the S3 bucket.
bucketNotificationConfiguration
- The notification configuration for the S3 bucket.public AwsS3BucketNotificationConfiguration getBucketNotificationConfiguration()
The notification configuration for the S3 bucket.
public AwsS3BucketDetails withBucketNotificationConfiguration(AwsS3BucketNotificationConfiguration bucketNotificationConfiguration)
The notification configuration for the S3 bucket.
bucketNotificationConfiguration
- The notification configuration for the S3 bucket.public void setBucketVersioningConfiguration(AwsS3BucketBucketVersioningConfiguration bucketVersioningConfiguration)
The versioning state of an S3 bucket.
bucketVersioningConfiguration
- The versioning state of an S3 bucket.public AwsS3BucketBucketVersioningConfiguration getBucketVersioningConfiguration()
The versioning state of an S3 bucket.
public AwsS3BucketDetails withBucketVersioningConfiguration(AwsS3BucketBucketVersioningConfiguration bucketVersioningConfiguration)
The versioning state of an S3 bucket.
bucketVersioningConfiguration
- The versioning state of an S3 bucket.public void setObjectLockConfiguration(AwsS3BucketObjectLockConfiguration objectLockConfiguration)
Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.
objectLockConfiguration
- Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.public AwsS3BucketObjectLockConfiguration getObjectLockConfiguration()
Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.
public AwsS3BucketDetails withObjectLockConfiguration(AwsS3BucketObjectLockConfiguration objectLockConfiguration)
Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.
objectLockConfiguration
- Specifies which rule Amazon S3 applies by default to every new object placed in the specified 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.