@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.
|
AwsS3BucketWebsiteConfiguration |
getBucketWebsiteConfiguration()
The website configuration parameters for the S3 bucket.
|
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.
|
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) |
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 |
setBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration bucketWebsiteConfiguration)
The website configuration parameters for the S3 bucket.
|
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 |
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 |
withBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration bucketWebsiteConfiguration)
The website configuration parameters for the S3 bucket.
|
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 |
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 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 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 String toString()
toString in class ObjectObject.toString()public AwsS3BucketDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.