Class UploadArchiveRequest

    • Method Detail

      • vaultName

        public final String vaultName()

        The name of the vault.

        Returns:
        The name of the vault.
      • accountId

        public final String accountId()

        The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

        Returns:
        The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.
      • archiveDescription

        public final String archiveDescription()

        The optional description of the archive you are uploading.

        Returns:
        The optional description of the archive you are uploading.
      • checksum

        public final String checksum()

        The SHA256 tree hash of the data being uploaded.

        Returns:
        The SHA256 tree hash of the data being uploaded.
      • contentLength

        public final Long contentLength()
        The content length of the archive to upload.
        Returns:
        The content length of the archive to upload.
      • 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