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 TapeRecoveryPointInfo
clone()
boolean
equals(Object obj)
String
getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.Date
getTapeRecoveryPointTime()
The time when the point-in-time view of the virtual tape was replicated for later recovery.Long
getTapeSizeInBytes()
The size, in bytes, of the virtual tapes to recover.String
getTapeStatus()
int
hashCode()
void
setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.void
setTapeRecoveryPointTime(Date tapeRecoveryPointTime)
The time when the point-in-time view of the virtual tape was replicated for later recovery.void
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes to recover.void
setTapeStatus(String tapeStatus)
String
toString()
Returns a string representation of this object; useful for testing and debugging.TapeRecoveryPointInfo
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.TapeRecoveryPointInfo
withTapeRecoveryPointTime(Date tapeRecoveryPointTime)
The time when the point-in-time view of the virtual tape was replicated for later recovery.TapeRecoveryPointInfo
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tapes to recover.TapeRecoveryPointInfo
withTapeStatus(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TapeRecoveryPointInfo clone()
-
-