Class TapeInfo
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.TapeInfo
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TapeInfo extends Object implements Serializable, Cloneable
Describes a virtual tape.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TapeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TapeInfo
clone()
boolean
equals(Object obj)
String
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.String
getTapeARN()
The Amazon Resource Name (ARN) of a virtual tape.String
getTapeBarcode()
The barcode that identifies a specific virtual tape.Long
getTapeSizeInBytes()
The size, in bytes, of a virtual tape.String
getTapeStatus()
The status of the tape.int
hashCode()
void
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.void
setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.void
setTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.void
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of a virtual tape.void
setTapeStatus(String tapeStatus)
The status of the tape.String
toString()
Returns a string representation of this object; useful for testing and debugging.TapeInfo
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.TapeInfo
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.TapeInfo
withTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.TapeInfo
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of a virtual tape.TapeInfo
withTapeStatus(String tapeStatus)
The status of the tape.
-
-
-
Method Detail
-
setTapeARN
public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.
- Parameters:
tapeARN
- The Amazon Resource Name (ARN) of a virtual tape.
-
getTapeARN
public String getTapeARN()
The Amazon Resource Name (ARN) of a virtual tape.
- Returns:
- The Amazon Resource Name (ARN) of a virtual tape.
-
withTapeARN
public TapeInfo withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of a virtual tape.
- Parameters:
tapeARN
- The Amazon Resource Name (ARN) of a virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeBarcode
public void setTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.
- Parameters:
tapeBarcode
- The barcode that identifies a specific virtual tape.
-
getTapeBarcode
public String getTapeBarcode()
The barcode that identifies a specific virtual tape.
- Returns:
- The barcode that identifies a specific virtual tape.
-
withTapeBarcode
public TapeInfo withTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.
- Parameters:
tapeBarcode
- The barcode that identifies a specific virtual tape.- 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 a virtual tape.
- Parameters:
tapeSizeInBytes
- The size, in bytes, of a virtual tape.
-
getTapeSizeInBytes
public Long getTapeSizeInBytes()
The size, in bytes, of a virtual tape.
- Returns:
- The size, in bytes, of a virtual tape.
-
withTapeSizeInBytes
public TapeInfo withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of a virtual tape.
- Parameters:
tapeSizeInBytes
- The size, in bytes, of a virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTapeStatus
public void setTapeStatus(String tapeStatus)
The status of the tape.
- Parameters:
tapeStatus
- The status of the tape.
-
getTapeStatus
public String getTapeStatus()
The status of the tape.
- Returns:
- The status of the tape.
-
withTapeStatus
public TapeInfo withTapeStatus(String tapeStatus)
The status of the tape.
- Parameters:
tapeStatus
- The status of the tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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.
-
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.
- Returns:
- 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 TapeInfo 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.
- 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:
- 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()
-
-