public static interface CreateTapesRequest.Builder extends StorageGatewayRequest.Builder, CopyableBuilder<CreateTapesRequest.Builder,CreateTapesRequest>
Modifier and Type | Method and Description |
---|---|
CreateTapesRequest.Builder |
clientToken(String clientToken)
A unique identifier that you use to retry a request.
|
CreateTapesRequest.Builder |
gatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with.
|
CreateTapesRequest.Builder |
numTapesToCreate(Integer numTapesToCreate)
The number of virtual tapes that you want to create.
|
CreateTapesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateTapesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateTapesRequest.Builder |
tapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are creating.
|
CreateTapesRequest.Builder |
tapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
|
build
overrideConfiguration
copy
applyMutation, build
CreateTapesRequest.Builder gatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes 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 tapes with.
Use the ListGateways operation to return a list of gateways for your account and region.CreateTapesRequest.Builder tapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
tapeSizeInBytes
- The size, in bytes, of the virtual tapes that you want to create. The size must be aligned by gigabyte (1024*1024*1024 byte).
CreateTapesRequest.Builder clientToken(String clientToken)
A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
clientToken
- A unique identifier that you use to retry a request. If you retry a request, use the same
ClientToken
you specified in the initial request.
Using the same ClientToken
prevents creating the tape multiple times.
CreateTapesRequest.Builder numTapesToCreate(Integer numTapesToCreate)
The number of virtual tapes that you want to create.
numTapesToCreate
- The number of virtual tapes that you want to create.CreateTapesRequest.Builder tapeBarcodePrefix(String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique.
The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
tapeBarcodePrefix
- A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the
barcode unique. The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
CreateTapesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateTapesRequest.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.