public static interface CreateTapeWithBarcodeRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateTapeWithBarcodeRequest.Builder,CreateTapeWithBarcodeRequest>
Modifier and Type | Method and Description |
---|---|
CreateTapeWithBarcodeRequest.Builder |
gatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.
|
CreateTapeWithBarcodeRequest.Builder |
kmsEncrypted(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.Builder |
kmsKey(String kmsKey)
The Amazon Resource Name (ARN) of the AWS KMS Key used for Amazon S3 server side encryption.
|
CreateTapeWithBarcodeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateTapeWithBarcodeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateTapeWithBarcodeRequest.Builder |
tapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.
|
CreateTapeWithBarcodeRequest.Builder |
tapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape that you want to create.
|
build
overrideConfiguration
copy
applyMutation, build
CreateTapeWithBarcodeRequest.Builder gatewayARN(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.
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.CreateTapeWithBarcodeRequest.Builder tapeSizeInBytes(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).
CreateTapeWithBarcodeRequest.Builder tapeBarcode(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.
CreateTapeWithBarcodeRequest.Builder kmsEncrypted(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.CreateTapeWithBarcodeRequest.Builder kmsKey(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.CreateTapeWithBarcodeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateTapeWithBarcodeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.