Class S3BucketDestination

    • Method Detail

      • accountId

        public final String accountId()

        The account ID of the owner of the S3 Storage Lens metrics export bucket.

        Returns:
        The account ID of the owner of the S3 Storage Lens metrics export bucket.
      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name

        Returns:
        The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
      • prefix

        public final String prefix()

        The prefix of the destination bucket where the metrics export will be delivered.

        Returns:
        The prefix of the destination bucket where the metrics export will be delivered.
      • encryption

        public final StorageLensDataExportEncryption encryption()

        The container for the type encryption of the metrics exports in this bucket.

        Returns:
        The container for the type encryption of the metrics exports in this 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)