@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()
Set to
true to use Amazon S3 server-side encryption with your own KMS key, or false to
use a key managed by Amazon S3. |
String |
getKMSKey()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) 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.
|
Boolean |
getWorm()
Set to
TRUE if the tape you are creating is to be configured as a write-once-read-many (WORM) tape. |
int |
hashCode() |
Boolean |
isKMSEncrypted()
Set to
true to use Amazon S3 server-side encryption with your own KMS key, or false to
use a key managed by Amazon S3. |
Boolean |
isWorm()
Set to
TRUE if the tape you are creating is to be configured as a write-once-read-many (WORM) tape. |
void |
setGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.
|
void |
setKMSEncrypted(Boolean kMSEncrypted)
Set to
true to use Amazon S3 server-side encryption with your own KMS key, or false to
use a key managed by Amazon S3. |
void |
setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) 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.
|
void |
setWorm(Boolean worm)
Set to
TRUE if the tape you are creating is to be configured as a write-once-read-many (WORM) tape. |
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)
Set to
true to use Amazon S3 server-side encryption with your own KMS key, or false to
use a key managed by Amazon S3. |
CreateTapeWithBarcodeRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) 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.
|
CreateTapeWithBarcodeRequest |
withWorm(Boolean worm)
Set to
TRUE if the tape you are creating is to be configured as a write-once-read-many (WORM) tape. |
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 Amazon Web Services 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 Amazon Web Services
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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services
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 bytes).
tapeSizeInBytes
- The size, in bytes, of the virtual tape that you want to create. The size must be aligned by gigabyte (1024*1024*1024 bytes).
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 bytes).
The size must be aligned by gigabyte (1024*1024*1024 bytes).
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 bytes).
tapeSizeInBytes
- The size, in bytes, of the virtual tape that you want to create. The size must be aligned by gigabyte (1024*1024*1024 bytes).
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)
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean getKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public CreateTapeWithBarcodeRequest withKMSEncrypted(Boolean kMSEncrypted)
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean isKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public void setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
KMSEncrypted
is true
. Optional.public CreateTapeWithBarcodeRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. 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 (S3 Glacier or S3 Deep Archive) that corresponds to the pool.
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 (S3 Glacier or S3 Deep Archive) that
corresponds to the pool.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 (S3 Glacier or S3 Deep Archive) that corresponds to the pool.
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 (S3 Glacier or S3 Deep Archive) that corresponds to the pool.
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 (S3 Glacier or S3 Deep Archive) that
corresponds to the pool.public void setWorm(Boolean worm)
Set to TRUE
if the tape you are creating is to be configured as a write-once-read-many (WORM) tape.
worm
- Set to TRUE
if the tape you are creating is to be configured as a write-once-read-many (WORM)
tape.public Boolean getWorm()
Set to TRUE
if the tape you are creating is to be configured as a write-once-read-many (WORM) tape.
TRUE
if the tape you are creating is to be configured as a write-once-read-many
(WORM) tape.public CreateTapeWithBarcodeRequest withWorm(Boolean worm)
Set to TRUE
if the tape you are creating is to be configured as a write-once-read-many (WORM) tape.
worm
- Set to TRUE
if the tape you are creating is to be configured as a write-once-read-many (WORM)
tape.public Boolean isWorm()
Set to TRUE
if the tape you are creating is to be configured as a write-once-read-many (WORM) tape.
TRUE
if the tape you are creating is to be configured as a write-once-read-many
(WORM) tape.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()