@Generated(value="software.amazon.awssdk:codegen") public final class CreateTapeWithBarcodeRequest extends StorageGatewayRequest implements ToCopyableBuilder<CreateTapeWithBarcodeRequest.Builder,CreateTapeWithBarcodeRequest>
CreateTapeWithBarcodeInput
Modifier and Type | Class and Description |
---|---|
static interface |
CreateTapeWithBarcodeRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateTapeWithBarcodeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
String |
gatewayARN()
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
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.
|
String |
kmsKey()
The Amazon Resource Name (ARN) of the AWS KMS Key used for Amazon S3 server side encryption.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTapeWithBarcodeRequest.Builder> |
serializableBuilderClass() |
String |
tapeBarcode()
The barcode that you want to assign to the tape.
|
Long |
tapeSizeInBytes()
The size, in bytes, of the virtual tape that you want to create.
|
CreateTapeWithBarcodeRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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 region.
public 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).
The size must be aligned by gigabyte (1024*1024*1024 byte).
public 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.
Barcodes cannot be reused. This includes barcodes used for tapes that have been deleted.
public 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.
public 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.
public CreateTapeWithBarcodeRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateTapeWithBarcodeRequest.Builder,CreateTapeWithBarcodeRequest>
toBuilder
in class StorageGatewayRequest
public static CreateTapeWithBarcodeRequest.Builder builder()
public static Class<? extends CreateTapeWithBarcodeRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.