@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTapeWithBarcodeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateTapeWithBarcodeInput
NOOP
Constructor and Description |
---|
CreateTapeWithBarcodeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTapeWithBarcodeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape 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.
|
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 that has a barcode.
|
String |
getTapeBarcode()
The barcode that you want to assign to the tape.
|
Long |
getTapeSizeInBytes()
The size, in bytes, of the virtual tape 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 |
setGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape 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 |
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 that has a barcode.
|
void |
setTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.
|
void |
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape that you want to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateTapeWithBarcodeRequest |
withGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.
|
CreateTapeWithBarcodeRequest |
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.
|
CreateTapeWithBarcodeRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS Key used for Amazon S3 server side encryption.
|
CreateTapeWithBarcodeRequest |
withPoolId(String poolId)
The ID of the pool that you want to add your tape to for archiving.
|
CreateTapeWithBarcodeRequest |
withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to a virtual tape that has a barcode.
|
CreateTapeWithBarcodeRequest |
withTags(Tag... tags)
A list of up to 50 tags that can be assigned to a virtual tape that has a barcode.
|
CreateTapeWithBarcodeRequest |
withTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.
|
CreateTapeWithBarcodeRequest |
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape 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 tape 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 tape 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 tape with. Use the ListGateways operation to return a list of gateways for your account and AWS Region.
public CreateTapeWithBarcodeRequest withGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape 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 tape 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 tape that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
tapeSizeInBytes
- The size, in bytes, of the virtual tape 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 tape 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 CreateTapeWithBarcodeRequest withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
tapeSizeInBytes
- The size, in bytes, of the virtual tape that you want to create. The size must be aligned by gigabyte (1024*1024*1024 byte).
public void setTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.
Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.
tapeBarcode
- The barcode that you want to assign to the tape. Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.
public String getTapeBarcode()
The barcode that you want to assign to the tape.
Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.
Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.
public CreateTapeWithBarcodeRequest withTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.
Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.
tapeBarcode
- The barcode that you want to assign to the tape. Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.
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 CreateTapeWithBarcodeRequest 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 CreateTapeWithBarcodeRequest 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 CreateTapeWithBarcodeRequest 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 that has a barcode. 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 that has a barcode. 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 that has a barcode. 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 CreateTapeWithBarcodeRequest withTags(Tag... tags)
A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. 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 that has a barcode. 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 CreateTapeWithBarcodeRequest withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to a virtual tape that has a barcode. 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 that has a barcode. 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 CreateTapeWithBarcodeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.