Class CreateTapeWithBarcodeRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.storagegateway.model.CreateTapeWithBarcodeRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateTapeWithBarcodeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateTapeWithBarcodeInput
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateTapeWithBarcodeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTapeWithBarcodeRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getGatewayARN()
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.String
getTapeBarcode()
The barcode that you want to assign to the tape.Long
getTapeSizeInBytes()
The size, in bytes, of the virtual tape that you want to create.int
hashCode()
void
setGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.void
setTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.void
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape that you want to create.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateTapeWithBarcodeRequest
withGatewayARN(String gatewayARN)
The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with.CreateTapeWithBarcodeRequest
withTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.CreateTapeWithBarcodeRequest
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape 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
-
-
-
-
Method Detail
-
setGatewayARN
public void setGatewayARN(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.
- Parameters:
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.
-
getGatewayARN
public 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.
- Returns:
- 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.
-
withGatewayARN
public CreateTapeWithBarcodeRequest withGatewayARN(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeSizeInBytes
public void setTapeSizeInBytes(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).
- Parameters:
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).
-
getTapeSizeInBytes
public 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).
- Returns:
- The size, in bytes, of the virtual tape that you want to
create.
The size must be aligned by gigabyte (1024*1024*1024 byte).
-
withTapeSizeInBytes
public CreateTapeWithBarcodeRequest withTapeSizeInBytes(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).
- Parameters:
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).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeBarcode
public void setTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.
- Parameters:
tapeBarcode
- The barcode that you want to assign to the tape.
-
getTapeBarcode
public String getTapeBarcode()
The barcode that you want to assign to the tape.
- Returns:
- The barcode that you want to assign to the tape.
-
withTapeBarcode
public CreateTapeWithBarcodeRequest withTapeBarcode(String tapeBarcode)
The barcode that you want to assign to the tape.
- Parameters:
tapeBarcode
- The barcode that you want to assign to the tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateTapeWithBarcodeRequest 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:
Object.clone()
-
-