Class TapeRecoveryPointInfo
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.TapeRecoveryPointInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class TapeRecoveryPointInfo extends Object implements Serializable, Cloneable
Describes a recovery point.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TapeRecoveryPointInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TapeRecoveryPointInfoclone()booleanequals(Object obj)StringgetTapeARN()The Amazon Resource Name (ARN) of the virtual tape.DategetTapeRecoveryPointTime()The time when the point-in-time view of the virtual tape was replicated for later recovery.LonggetTapeSizeInBytes()The size, in bytes, of the virtual tapes to recover.StringgetTapeStatus()inthashCode()voidsetTapeARN(String tapeARN)The Amazon Resource Name (ARN) of the virtual tape.voidsetTapeRecoveryPointTime(Date tapeRecoveryPointTime)The time when the point-in-time view of the virtual tape was replicated for later recovery.voidsetTapeSizeInBytes(Long tapeSizeInBytes)The size, in bytes, of the virtual tapes to recover.voidsetTapeStatus(String tapeStatus)StringtoString()Returns a string representation of this object; useful for testing and debugging.TapeRecoveryPointInfowithTapeARN(String tapeARN)The Amazon Resource Name (ARN) of the virtual tape.TapeRecoveryPointInfowithTapeRecoveryPointTime(Date tapeRecoveryPointTime)The time when the point-in-time view of the virtual tape was replicated for later recovery.TapeRecoveryPointInfowithTapeSizeInBytes(Long tapeSizeInBytes)The size, in bytes, of the virtual tapes to recover.TapeRecoveryPointInfowithTapeStatus(String tapeStatus)
-
-
-
Method Detail
-
setTapeARN
public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
- Parameters:
tapeARN- The Amazon Resource Name (ARN) of the virtual tape.
-
getTapeARN
public String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.
- Returns:
- The Amazon Resource Name (ARN) of the virtual tape.
-
withTapeARN
public TapeRecoveryPointInfo withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
- Parameters:
tapeARN- The Amazon Resource Name (ARN) of the virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeRecoveryPointTime
public void setTapeRecoveryPointTime(Date tapeRecoveryPointTime)
The time when the point-in-time view of the virtual tape was replicated for later recovery.
The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- Parameters:
tapeRecoveryPointTime- The time when the point-in-time view of the virtual tape was replicated for later recovery.The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
-
getTapeRecoveryPointTime
public Date getTapeRecoveryPointTime()
The time when the point-in-time view of the virtual tape was replicated for later recovery.
The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- Returns:
- The time when the point-in-time view of the virtual tape was
replicated for later recovery.
The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
-
withTapeRecoveryPointTime
public TapeRecoveryPointInfo withTapeRecoveryPointTime(Date tapeRecoveryPointTime)
The time when the point-in-time view of the virtual tape was replicated for later recovery.
The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- Parameters:
tapeRecoveryPointTime- The time when the point-in-time view of the virtual tape was replicated for later recovery.The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- 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 tapes to recover.
- Parameters:
tapeSizeInBytes- The size, in bytes, of the virtual tapes to recover.
-
getTapeSizeInBytes
public Long getTapeSizeInBytes()
The size, in bytes, of the virtual tapes to recover.
- Returns:
- The size, in bytes, of the virtual tapes to recover.
-
withTapeSizeInBytes
public TapeRecoveryPointInfo withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes to recover.
- Parameters:
tapeSizeInBytes- The size, in bytes, of the virtual tapes to recover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeStatus
public void setTapeStatus(String tapeStatus)
- Parameters:
tapeStatus-
-
getTapeStatus
public String getTapeStatus()
- Returns:
-
withTapeStatus
public TapeRecoveryPointInfo withTapeStatus(String tapeStatus)
- Parameters:
tapeStatus-- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TapeRecoveryPointInfo clone()
-
-