@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InitiateMultipartUploadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Provides options for initiating a multipart upload to an Amazon Glacier vault.
NOOP
Constructor and Description |
---|
InitiateMultipartUploadRequest()
Default constructor for InitiateMultipartUploadRequest object.
|
InitiateMultipartUploadRequest(String vaultName,
String archiveDescription,
String partSize)
Constructs a new InitiateMultipartUploadRequest object.
|
InitiateMultipartUploadRequest(String accountId,
String vaultName,
String archiveDescription,
String partSize)
Constructs a new InitiateMultipartUploadRequest object.
|
Modifier and Type | Method and Description |
---|---|
InitiateMultipartUploadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The
AccountId value is the AWS account ID of the account that owns the vault. |
String |
getArchiveDescription()
The archive description that you are uploading in parts.
|
String |
getPartSize()
The size of each part except the last, in bytes.
|
String |
getVaultName()
The name of the vault.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The
AccountId value is the AWS account ID of the account that owns the vault. |
void |
setArchiveDescription(String archiveDescription)
The archive description that you are uploading in parts.
|
void |
setPartSize(String partSize)
The size of each part except the last, in bytes.
|
void |
setVaultName(String vaultName)
The name of the vault.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InitiateMultipartUploadRequest |
withAccountId(String accountId)
The
AccountId value is the AWS account ID of the account that owns the vault. |
InitiateMultipartUploadRequest |
withArchiveDescription(String archiveDescription)
The archive description that you are uploading in parts.
|
InitiateMultipartUploadRequest |
withPartSize(String partSize)
The size of each part except the last, in bytes.
|
InitiateMultipartUploadRequest |
withVaultName(String vaultName)
The name of the vault.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public InitiateMultipartUploadRequest()
public InitiateMultipartUploadRequest(String vaultName, String archiveDescription, String partSize)
vaultName
- The name of the vault.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).
partSize
- The size of each part except the last, in bytes. The last part can be smaller than this part size.public InitiateMultipartUploadRequest(String accountId, String vaultName, String archiveDescription, String partSize)
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.vaultName
- The name of the vault.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).
partSize
- The size of each part except the last, in bytes. The last part can be smaller than this part size.public void setAccountId(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 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.
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.public String getAccountId()
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.
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.public InitiateMultipartUploadRequest withAccountId(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 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.
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.public void setVaultName(String vaultName)
The name of the vault.
vaultName
- The name of the vault.public String getVaultName()
The name of the vault.
public InitiateMultipartUploadRequest withVaultName(String vaultName)
The name of the vault.
vaultName
- The name of the vault.public void setArchiveDescription(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).
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).
public String getArchiveDescription()
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).
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).
public InitiateMultipartUploadRequest withArchiveDescription(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).
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).
public void setPartSize(String partSize)
The size of each part except the last, in bytes. The last part can be smaller than this part size.
partSize
- The size of each part except the last, in bytes. The last part can be smaller than this part size.public String getPartSize()
The size of each part except the last, in bytes. The last part can be smaller than this part size.
public InitiateMultipartUploadRequest withPartSize(String partSize)
The size of each part except the last, in bytes. The last part can be smaller than this part size.
partSize
- The size of each part except the last, in bytes. The last part can be smaller than this part size.public String toString()
toString
in class Object
Object.toString()
public InitiateMultipartUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.