Class CreateTapesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
CreateTapesInput
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A unique identifier that you use to retry a request.The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with.The number of virtual tapes that you want to create.A prefix that you append to the barcode of the virtual tape you are creating.The size, in bytes, of the virtual tapes that you want to create.int
hashCode()
void
setClientToken
(String clientToken) A unique identifier that you use to retry a request.void
setGatewayARN
(String gatewayARN) The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with.void
setNumTapesToCreate
(Integer numTapesToCreate) The number of virtual tapes that you want to create.void
setTapeBarcodePrefix
(String tapeBarcodePrefix) A prefix that you append to the barcode of the virtual tape you are creating.void
setTapeSizeInBytes
(Long tapeSizeInBytes) The size, in bytes, of the virtual tapes that you want to create.toString()
Returns a string representation of this object; useful for testing and debugging.withClientToken
(String clientToken) A unique identifier that you use to retry a request.withGatewayARN
(String gatewayARN) The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with.withNumTapesToCreate
(Integer numTapesToCreate) The number of virtual tapes that you want to create.withTapeBarcodePrefix
(String tapeBarcodePrefix) A prefix that you append to the barcode of the virtual tape you are creating.withTapeSizeInBytes
(Long tapeSizeInBytes) The size, in bytes, of the virtual tapes that you want to create.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateTapesRequest
public CreateTapesRequest()
-
-
Method Details
-
setGatewayARN
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.
- Parameters:
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.
-
getGatewayARN
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.
- Returns:
- 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.
-
withGatewayARN
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeSizeInBytes
The size, in bytes, of the virtual tapes that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
- Parameters:
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).
-
getTapeSizeInBytes
The size, in bytes, of the virtual tapes that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
- Returns:
- The size, in bytes, of the virtual tapes that you want to
create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
-
withTapeSizeInBytes
The size, in bytes, of the virtual tapes that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
- Parameters:
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).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClientToken
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.- Parameters:
clientToken
- A unique identifier that you use to retry a request. If you retry a request, use the sameClientToken
you specified in the initial request.Using the same
ClientToken
prevents creating the tape multiple times.
-
getClientToken
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.- Returns:
- 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.
-
withClientToken
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.- Parameters:
clientToken
- A unique identifier that you use to retry a request. If you retry a request, use the sameClientToken
you specified in the initial request.Using the same
ClientToken
prevents creating the tape multiple times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumTapesToCreate
The number of virtual tapes that you want to create.
- Parameters:
numTapesToCreate
- The number of virtual tapes that you want to create.
-
getNumTapesToCreate
The number of virtual tapes that you want to create.
- Returns:
- The number of virtual tapes that you want to create.
-
withNumTapesToCreate
The number of virtual tapes that you want to create.
- Parameters:
numTapesToCreate
- The number of virtual tapes that you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeBarcodePrefix
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.
- Parameters:
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.
-
getTapeBarcodePrefix
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.
- Returns:
- 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.
-
withTapeBarcodePrefix
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-