public class CancelRetrievalRequest extends AmazonWebServiceRequest implements Serializable
CancelRetrieval operation
.
Cancels retrieval of a virtual tape from the Virtual Tape Shelf (VTS) to a gateway after the retrieval process is initiated. The virtual tape is returned to the Virtual Tape Shelf.
Constructor and Description |
---|
CancelRetrievalRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
String |
getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.
|
int |
hashCode() |
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelRetrievalRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
CancelRetrievalRequest |
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public CancelRetrievalRequest withGatewayARN(String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public String getTapeARN()
Constraints:
Length: 50 - 500
public void setTapeARN(String tapeARN)
Constraints:
Length: 50 - 500
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.public CancelRetrievalRequest withTapeARN(String tapeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.