public class CreateTapeWithBarcodeRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
CreateTapeWithBarcodeInput
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gatewayARN
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tape with.
|
private java.lang.String |
tapeBarcode
The barcode that you want to assign to the tape.
|
private java.lang.Long |
tapeSizeInBytes
The size, in bytes, of the virtual tape that you want to create.
|
NOOP
Constructor and Description |
---|
CreateTapeWithBarcodeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTapeWithBarcodeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGatewayARN()
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tape with.
|
java.lang.String |
getTapeBarcode()
The barcode that you want to assign to the tape.
|
java.lang.Long |
getTapeSizeInBytes()
The size, in bytes, of the virtual tape that you want to create.
|
int |
hashCode() |
void |
setGatewayARN(java.lang.String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tape with.
|
void |
setTapeBarcode(java.lang.String tapeBarcode)
The barcode that you want to assign to the tape.
|
void |
setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tape that you want to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTapeWithBarcodeRequest |
withGatewayARN(java.lang.String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to
associate the virtual tape with.
|
CreateTapeWithBarcodeRequest |
withTapeBarcode(java.lang.String tapeBarcode)
The barcode that you want to assign to the tape.
|
CreateTapeWithBarcodeRequest |
withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tape 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 tape 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 tape that you want to create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
private java.lang.String tapeBarcode
The barcode that you want to assign to the tape.
public void setGatewayARN(java.lang.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.public java.lang.String getGatewayARN()
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.
public CreateTapeWithBarcodeRequest withGatewayARN(java.lang.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.public void setTapeSizeInBytes(java.lang.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).
public java.lang.Long getTapeSizeInBytes()
The size, in bytes, of the virtual tape 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 CreateTapeWithBarcodeRequest withTapeSizeInBytes(java.lang.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).
public void setTapeBarcode(java.lang.String tapeBarcode)
The barcode that you want to assign to the tape.
tapeBarcode
- The barcode that you want to assign to the tape.public java.lang.String getTapeBarcode()
The barcode that you want to assign to the tape.
public CreateTapeWithBarcodeRequest withTapeBarcode(java.lang.String tapeBarcode)
The barcode that you want to assign to the tape.
tapeBarcode
- The barcode that you want to assign to the tape.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 CreateTapeWithBarcodeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()