Class InventoryS3BucketDestination

    • Method Detail

      • accountId

        public final String accountId()

        The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

        Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

        Returns:
        The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

        Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

      • bucket

        public final String bucket()

        The Amazon Resource Name (ARN) of the bucket where inventory results will be published.

        Returns:
        The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
      • formatAsString

        public final String formatAsString()

        Specifies the output format of the inventory results.

        If the service returns an enum value that is not available in the current SDK version, format will return InventoryFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from formatAsString().

        Returns:
        Specifies the output format of the inventory results.
        See Also:
        InventoryFormat
      • prefix

        public final String prefix()

        The prefix that is prepended to all inventory results.

        Returns:
        The prefix that is prepended to all inventory results.
      • encryption

        public final InventoryEncryption encryption()

        Contains the type of server-side encryption used to encrypt the inventory results.

        Returns:
        Contains the type of server-side encryption used to encrypt the inventory results.
      • 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)