Interface InitiateMultipartUploadRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<InitiateMultipartUploadRequest.Builder,InitiateMultipartUploadRequest>,GlacierRequest.Builder,SdkBuilder<InitiateMultipartUploadRequest.Builder,InitiateMultipartUploadRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- InitiateMultipartUploadRequest
public static interface InitiateMultipartUploadRequest.Builder extends GlacierRequest.Builder, SdkPojo, CopyableBuilder<InitiateMultipartUploadRequest.Builder,InitiateMultipartUploadRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InitiateMultipartUploadRequest.BuilderaccountId(String accountId)TheAccountIdvalue is the AWS account ID of the account that owns the vault.InitiateMultipartUploadRequest.BuilderarchiveDescription(String archiveDescription)The archive description that you are uploading in parts.InitiateMultipartUploadRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)InitiateMultipartUploadRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)InitiateMultipartUploadRequest.BuilderpartSize(String partSize)The size of each part except the last, in bytes.InitiateMultipartUploadRequest.BuildervaultName(String vaultName)The name of the vault.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
InitiateMultipartUploadRequest.Builder accountId(String accountId)
The
AccountIdvalue 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.- Parameters:
accountId- TheAccountIdvalue 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:
- Returns a reference to this object so that method calls can be chained together.
-
vaultName
InitiateMultipartUploadRequest.Builder vaultName(String 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
InitiateMultipartUploadRequest.Builder partSize(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
InitiateMultipartUploadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-