com.amazonaws.services.storagegateway.model
Class RetrieveTapeRecoveryPointRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.storagegateway.model.RetrieveTapeRecoveryPointRequest
All Implemented Interfaces:
Serializable

public class RetrieveTapeRecoveryPointRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the RetrieveTapeRecoveryPoint operation.

Retrieves the recovery point for the specified virtual tape.

A recovery point is a point in time view of a virtual tape at which all the data on the tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway.

NOTE:The virtual tape can be retrieved to only one gateway. The retrieved tape is read-only. The virtual tape can be retrieved to only a Gateway-Virtual Tape Library. There is no charge for retrieving recovery points.

See Also:
AWSStorageGateway.retrieveTapeRecoveryPoint(RetrieveTapeRecoveryPointRequest), Serialized Form

Constructor Summary
RetrieveTapeRecoveryPointRequest()
           
 
Method Summary
 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 for which you want to retrieve the recovery point.
 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 for which you want to retrieve the recovery point.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RetrieveTapeRecoveryPointRequest withGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 RetrieveTapeRecoveryPointRequest withTapeARN(String tapeARN)
          The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetrieveTapeRecoveryPointRequest

public RetrieveTapeRecoveryPointRequest()
Method Detail

getTapeARN

public String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.

setTapeARN

public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.

withTapeARN

public RetrieveTapeRecoveryPointRequest withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.
Returns:
A reference to this updated object so that method calls can be chained together.

getGatewayARN

public String getGatewayARN()
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

setGatewayARN

public void setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

withGatewayARN

public RetrieveTapeRecoveryPointRequest withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.