public class CreateTapesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
CreateTapesInput
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clientToken
A unique identifier that you use to retry a request.
|
private java.lang.String |
gatewayARN
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tapes with.
|
private java.lang.Integer |
numTapesToCreate
The number of virtual tapes that you want to create.
|
private java.lang.String |
tapeBarcodePrefix
A prefix that you append to the barcode of the virtual tape you are
creating.
|
private java.lang.Long |
tapeSizeInBytes
The size, in bytes, of the virtual tapes that you want to create.
|
NOOP
Constructor and Description |
---|
CreateTapesRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTapesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A unique identifier that you use to retry a request.
|
java.lang.String |
getGatewayARN()
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tapes with.
|
java.lang.Integer |
getNumTapesToCreate()
The number of virtual tapes that you want to create.
|
java.lang.String |
getTapeBarcodePrefix()
A prefix that you append to the barcode of the virtual tape you are
creating.
|
java.lang.Long |
getTapeSizeInBytes()
The size, in bytes, of the virtual tapes that you want to create.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique identifier that you use to retry a request.
|
void |
setGatewayARN(java.lang.String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tapes with.
|
void |
setNumTapesToCreate(java.lang.Integer numTapesToCreate)
The number of virtual tapes that you want to create.
|
void |
setTapeBarcodePrefix(java.lang.String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are
creating.
|
void |
setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTapesRequest |
withClientToken(java.lang.String clientToken)
A unique identifier that you use to retry a request.
|
CreateTapesRequest |
withGatewayARN(java.lang.String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tapes with.
|
CreateTapesRequest |
withNumTapesToCreate(java.lang.Integer numTapesToCreate)
The number of virtual tapes that you want to create.
|
CreateTapesRequest |
withTapeBarcodePrefix(java.lang.String tapeBarcodePrefix)
A prefix that you append to the barcode of the virtual tape you are
creating.
|
CreateTapesRequest |
withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes that you want to create.
|
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
private java.lang.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.
private java.lang.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).
private java.lang.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.
private java.lang.Integer numTapesToCreate
The number of virtual tapes that you want to create.
private java.lang.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.
public void setGatewayARN(java.lang.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.public java.lang.String 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.
public CreateTapesRequest withGatewayARN(java.lang.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.public void setTapeSizeInBytes(java.lang.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).
public java.lang.Long 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).
The size must be aligned by gigabyte (1024*1024*1024 byte).
public CreateTapesRequest withTapeSizeInBytes(java.lang.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).
public void setClientToken(java.lang.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.
public java.lang.String 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.
ClientToken
you specified in
the initial request.
Using the same ClientToken
prevents creating the
tape multiple times.
public CreateTapesRequest withClientToken(java.lang.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.
public void setNumTapesToCreate(java.lang.Integer numTapesToCreate)
The number of virtual tapes that you want to create.
numTapesToCreate
- The number of virtual tapes that you want to create.public java.lang.Integer getNumTapesToCreate()
The number of virtual tapes that you want to create.
public CreateTapesRequest withNumTapesToCreate(java.lang.Integer numTapesToCreate)
The number of virtual tapes that you want to create.
numTapesToCreate
- The number of virtual tapes that you want to create.public void setTapeBarcodePrefix(java.lang.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.
public java.lang.String 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.
The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z.
public CreateTapesRequest withTapeBarcodePrefix(java.lang.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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateTapesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()