@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTapesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateTapesInput
NOOP
Constructor and Description |
---|
CreateTapesRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTapesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique identifier that you use to retry a request.
|
String |
getGatewayARN()
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with.
|
Boolean |
getKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
String |
getKMSKey()
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
Integer |
getNumTapesToCreate()
The number of virtual tapes that you want to create.
|
String |
getPoolId()
The ID of the pool that you want to add your tape to for archiving.
|
List<Tag> |
getTags()
A list of up to 50 tags that can be assigned to a virtual tape.
|
String |
getTapeBarcodePrefix()
A prefix that you append to the barcode of the virtual tape you are creating.
|
Long |
getTapeSizeInBytes()
The size, in bytes, of the virtual tapes that you want to create.
|
int |
hashCode() |
Boolean |
isKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
void |
setClientToken(String clientToken)
A unique identifier that you use to retry a request.
|
void |
setGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with.
|
void |
setKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
void |
setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
void |
setNumTapesToCreate(Integer numTapesToCreate)
The number of virtual tapes that you want to create.
|
void |
setPoolId(String poolId)
The ID of the pool that you want to add your tape to for archiving.
|
void |
setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to a virtual tape.
|
void |
setTapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are creating.
|
void |
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateTapesRequest |
withClientToken(String clientToken)
A unique identifier that you use to retry a request.
|
CreateTapesRequest |
withGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with.
|
CreateTapesRequest |
withKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon
S3.
|
CreateTapesRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
CreateTapesRequest |
withNumTapesToCreate(Integer numTapesToCreate)
The number of virtual tapes that you want to create.
|
CreateTapesRequest |
withPoolId(String poolId)
The ID of the pool that you want to add your tape to for archiving.
|
CreateTapesRequest |
withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to a virtual tape.
|
CreateTapesRequest |
withTags(Tag... tags)
A list of up to 50 tags that can be assigned to a virtual tape.
|
CreateTapesRequest |
withTapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are creating.
|
CreateTapesRequest |
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
|
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 void setGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and AWS Region.
gatewayARN
- The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use
the ListGateways operation to return a list of gateways for your account and AWS Region.public String getGatewayARN()
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and AWS Region.
public CreateTapesRequest withGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the ListGateways operation to return a list of gateways for your account and AWS Region.
gatewayARN
- The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use
the ListGateways operation to return a list of gateways for your account and AWS Region.public void setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
tapeSizeInBytes
- The size, in bytes, of the virtual tapes that you want to create. The size must be aligned by gigabyte (1024*1024*1024 byte).
public Long getTapeSizeInBytes()
The size, in bytes, of the virtual tapes that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
The size must be aligned by gigabyte (1024*1024*1024 byte).
public CreateTapesRequest withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
tapeSizeInBytes
- The size, in bytes, of the virtual tapes that you want to create. The size must be aligned by gigabyte (1024*1024*1024 byte).
public void setClientToken(String clientToken)
A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
clientToken
- A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
public String getClientToken()
A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
public CreateTapesRequest withClientToken(String clientToken)
A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
clientToken
- A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
public void setNumTapesToCreate(Integer numTapesToCreate)
The number of virtual tapes that you want to create.
numTapesToCreate
- The number of virtual tapes that you want to create.public Integer getNumTapesToCreate()
The number of virtual tapes that you want to create.
public CreateTapesRequest withNumTapesToCreate(Integer numTapesToCreate)
The number of virtual tapes that you want to create.
numTapesToCreate
- The number of virtual tapes that you want to create.public void setTapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique.
The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
tapeBarcodePrefix
- A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the
barcode unique. The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
public String getTapeBarcodePrefix()
A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique.
The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
public CreateTapesRequest withTapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique.
The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
tapeBarcodePrefix
- A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the
barcode unique. The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
public void setKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
kMSEncrypted
- True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by
Amazon S3. Optional.public Boolean getKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
public CreateTapesRequest withKMSEncrypted(Boolean kMSEncrypted)
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
kMSEncrypted
- True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by
Amazon S3. Optional.public Boolean isKMSEncrypted()
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
public void setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value
can only be set when KMSEncrypted is true. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
public CreateTapesRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value
can only be set when KMSEncrypted is true. Optional.public void setPoolId(String poolId)
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (Glacier or Deep Archive) that corresponds to the pool.
Valid values: "GLACIER", "DEEP_ARCHIVE"
poolId
- The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in
the S3 storage class that is associated with the pool. When you use your backup application to eject the
tape, the tape is archived directly into the storage class (Glacier or Deep Archive) that corresponds to
the pool.
Valid values: "GLACIER", "DEEP_ARCHIVE"
public String getPoolId()
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (Glacier or Deep Archive) that corresponds to the pool.
Valid values: "GLACIER", "DEEP_ARCHIVE"
Valid values: "GLACIER", "DEEP_ARCHIVE"
public CreateTapesRequest withPoolId(String poolId)
The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (Glacier or Deep Archive) that corresponds to the pool.
Valid values: "GLACIER", "DEEP_ARCHIVE"
poolId
- The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in
the S3 storage class that is associated with the pool. When you use your backup application to eject the
tape, the tape is archived directly into the storage class (Glacier or Deep Archive) that corresponds to
the pool.
Valid values: "GLACIER", "DEEP_ARCHIVE"
public List<Tag> getTags()
A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public void setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateTapesRequest withTags(Tag... tags)
A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateTapesRequest withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair. Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public String toString()
toString
in class Object
Object.toString()
public CreateTapesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.