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 TapeInfoclone()booleanequals(Object obj)StringgetGatewayARN()The Amazon Resource Name (ARN) of the gateway.StringgetTapeARN()The Amazon Resource Name (ARN) of a virtual tape.StringgetTapeBarcode()The barcode that identifies a specific virtual tape.LonggetTapeSizeInBytes()The size, in bytes, of a virtual tape.StringgetTapeStatus()The status of the tape.inthashCode()voidsetGatewayARN(String gatewayARN)The Amazon Resource Name (ARN) of the gateway.voidsetTapeARN(String tapeARN)The Amazon Resource Name (ARN) of a virtual tape.voidsetTapeBarcode(String tapeBarcode)The barcode that identifies a specific virtual tape.voidsetTapeSizeInBytes(Long tapeSizeInBytes)The size, in bytes, of a virtual tape.voidsetTapeStatus(String tapeStatus)The status of the tape.StringtoString()Returns a string representation of this object; useful for testing and debugging.TapeInfowithGatewayARN(String gatewayARN)The Amazon Resource Name (ARN) of the gateway.TapeInfowithTapeARN(String tapeARN)The Amazon Resource Name (ARN) of a virtual tape.TapeInfowithTapeBarcode(String tapeBarcode)The barcode that identifies a specific virtual tape.TapeInfowithTapeSizeInBytes(Long tapeSizeInBytes)The size, in bytes, of a virtual tape.TapeInfowithTapeStatus(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-