public class TapeInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a virtual tape.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gatewayARN
The Amazon Resource Name (ARN) of the gateway.
|
private java.lang.String |
tapeARN
The Amazon Resource Name (ARN) of a virtual tape.
|
private java.lang.String |
tapeBarcode
The barcode that identifies a specific virtual tape.
|
private java.lang.Long |
tapeSizeInBytes
The size, in bytes, of a virtual tape.
|
private java.lang.String |
tapeStatus
The status of the tape.
|
Constructor and Description |
---|
TapeInfo() |
Modifier and Type | Method and Description |
---|---|
TapeInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
java.lang.String |
getTapeARN()
The Amazon Resource Name (ARN) of a virtual tape.
|
java.lang.String |
getTapeBarcode()
The barcode that identifies a specific virtual tape.
|
java.lang.Long |
getTapeSizeInBytes()
The size, in bytes, of a virtual tape.
|
java.lang.String |
getTapeStatus()
The status of the tape.
|
int |
hashCode() |
void |
setGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.
|
void |
setTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
|
void |
setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of a virtual tape.
|
void |
setTapeStatus(java.lang.String tapeStatus)
The status of the tape.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TapeInfo |
withGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
TapeInfo |
withTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.
|
TapeInfo |
withTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
|
TapeInfo |
withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of a virtual tape.
|
TapeInfo |
withTapeStatus(java.lang.String tapeStatus)
The status of the tape.
|
private java.lang.String tapeARN
The Amazon Resource Name (ARN) of a virtual tape.
private java.lang.String tapeBarcode
The barcode that identifies a specific virtual tape.
private java.lang.Long tapeSizeInBytes
The size, in bytes, of a virtual tape.
private java.lang.String tapeStatus
The status of the tape.
private java.lang.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.
public void setTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of a virtual tape.public java.lang.String getTapeARN()
The Amazon Resource Name (ARN) of a virtual tape.
public TapeInfo withTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of a virtual tape.public void setTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
tapeBarcode
- The barcode that identifies a specific virtual tape.public java.lang.String getTapeBarcode()
The barcode that identifies a specific virtual tape.
public TapeInfo withTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
tapeBarcode
- The barcode that identifies a specific virtual tape.public void setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of a virtual tape.
tapeSizeInBytes
- The size, in bytes, of a virtual tape.public java.lang.Long getTapeSizeInBytes()
The size, in bytes, of a virtual tape.
public TapeInfo withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of a virtual tape.
tapeSizeInBytes
- The size, in bytes, of a virtual tape.public void setTapeStatus(java.lang.String tapeStatus)
The status of the tape.
tapeStatus
- The status of the tape.public java.lang.String getTapeStatus()
The status of the tape.
public TapeInfo withTapeStatus(java.lang.String tapeStatus)
The status of the tape.
tapeStatus
- The status of the tape.public void setGatewayARN(java.lang.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.
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 java.lang.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.
public TapeInfo withGatewayARN(java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TapeInfo clone()
clone
in class java.lang.Object