public static interface CreateTapeWithBarcodeRequest.Builder extends StorageGatewayRequest.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateTapeWithBarcodeRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateTapeWithBarcodeRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.