Interface InitiateMultipartUploadRequest.Builder

  • Method Details

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

      Parameters:
      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 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:
      Returns a reference to this object so that method calls can be chained together.
    • vaultName

      The name of the vault.

      Parameters:
      vaultName - The name of the vault.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • archiveDescription

      InitiateMultipartUploadRequest.Builder archiveDescription(String archiveDescription)

      The archive description that you are uploading in parts.

      The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

      Parameters:
      archiveDescription - The archive description that you are uploading in parts.

      The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partSize

      The size of each part except the last, in bytes. The last part can be smaller than this part size.

      Parameters:
      partSize - The size of each part except the last, in bytes. The last part can be smaller than this part size.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      InitiateMultipartUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.