Class AwsS3BucketDetails

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)