Class AwsS3BucketDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsS3BucketDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsS3BucketDetails.Builder,AwsS3BucketDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsS3BucketDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3BucketDetails.Builder,AwsS3BucketDetails>
The details of an Amazon Simple Storage Service (Amazon S3) bucket.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsS3BucketDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessControlList()The access control list for the S3 bucket.AwsS3BucketBucketLifecycleConfigurationDetailsbucketLifecycleConfiguration()The lifecycle configuration for objects in the specified bucket.AwsS3BucketLoggingConfigurationbucketLoggingConfiguration()The logging configuration for the S3 bucket.AwsS3BucketNotificationConfigurationbucketNotificationConfiguration()The notification configuration for the S3 bucket.AwsS3BucketBucketVersioningConfigurationbucketVersioningConfiguration()The versioning state of an S3 bucket.AwsS3BucketWebsiteConfigurationbucketWebsiteConfiguration()The website configuration parameters for the S3 bucket.static AwsS3BucketDetails.Builderbuilder()StringcreatedAt()Indicates when the S3 bucket was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the bucket.AwsS3BucketObjectLockConfigurationobjectLockConfiguration()Specifies which rule Amazon S3 applies by default to every new object placed in the bucket.StringownerAccountId()The Amazon Web Services account identifier of the account that owns the S3 bucket.StringownerId()The canonical user ID of the owner of the S3 bucket.StringownerName()The display name of the owner of the S3 bucket.AwsS3AccountPublicAccessBlockDetailspublicAccessBlockConfiguration()Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsS3BucketDetails.Builder>serializableBuilderClass()AwsS3BucketServerSideEncryptionConfigurationserverSideEncryptionConfiguration()The encryption rules that are applied to the S3 bucket.AwsS3BucketDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ownerId
public final String ownerId()
The canonical user ID of the owner of the S3 bucket.
- Returns:
- The canonical user ID of the owner of the S3 bucket.
-
ownerName
public final String ownerName()
The display name of the owner of the S3 bucket.
- Returns:
- The display name of the owner of the S3 bucket.
-
ownerAccountId
public final String ownerAccountId()
The Amazon Web Services account identifier of the account that owns the S3 bucket.
- Returns:
- The Amazon Web Services account identifier of the account that owns the S3 bucket.
-
createdAt
public final String createdAt()
Indicates when the S3 bucket was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Indicates when the S3 bucket was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
-
serverSideEncryptionConfiguration
public final AwsS3BucketServerSideEncryptionConfiguration serverSideEncryptionConfiguration()
The encryption rules that are applied to the S3 bucket.
- Returns:
- The encryption rules that are applied to the S3 bucket.
-
bucketLifecycleConfiguration
public final AwsS3BucketBucketLifecycleConfigurationDetails bucketLifecycleConfiguration()
The lifecycle configuration for objects in the specified bucket.
- Returns:
- The lifecycle configuration for objects in the specified bucket.
-
publicAccessBlockConfiguration
public final AwsS3AccountPublicAccessBlockDetails publicAccessBlockConfiguration()
Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
- Returns:
- Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
-
accessControlList
public final String accessControlList()
The access control list for the S3 bucket.
- Returns:
- The access control list for the S3 bucket.
-
bucketLoggingConfiguration
public final AwsS3BucketLoggingConfiguration bucketLoggingConfiguration()
The logging configuration for the S3 bucket.
- Returns:
- The logging configuration for the S3 bucket.
-
bucketWebsiteConfiguration
public final AwsS3BucketWebsiteConfiguration bucketWebsiteConfiguration()
The website configuration parameters for the S3 bucket.
- Returns:
- The website configuration parameters for the S3 bucket.
-
bucketNotificationConfiguration
public final AwsS3BucketNotificationConfiguration bucketNotificationConfiguration()
The notification configuration for the S3 bucket.
- Returns:
- The notification configuration for the S3 bucket.
-
bucketVersioningConfiguration
public final AwsS3BucketBucketVersioningConfiguration bucketVersioningConfiguration()
The versioning state of an S3 bucket.
- Returns:
- The versioning state of an S3 bucket.
-
objectLockConfiguration
public final AwsS3BucketObjectLockConfiguration objectLockConfiguration()
Specifies which rule Amazon S3 applies by default to every new object placed in the bucket.
- Returns:
- Specifies which rule Amazon S3 applies by default to every new object placed in the bucket.
-
name
public final String name()
The name of the bucket.
- Returns:
- The name of the bucket.
-
toBuilder
public AwsS3BucketDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsS3BucketDetails.Builder,AwsS3BucketDetails>
-
builder
public static AwsS3BucketDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsS3BucketDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-