public class CancelArchivalRequest extends AmazonWebServiceRequest implements Serializable
CancelArchival operation
.
Cancels archiving of a virtual tape to the Virtual Tape Shelf (VTS) after archiving process is initiated.
Constructor and Description |
---|
CancelArchivalRequest() |
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
archiving 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
archiving for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelArchivalRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
CancelArchivalRequest |
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape you want to cancel
archiving 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 CancelArchivalRequest 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
archiving for.public CancelArchivalRequest 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
archiving for.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.