Class CreateStorediSCSIVolumeResult
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.CreateStorediSCSIVolumeResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateStorediSCSIVolumeResult extends Object implements Serializable, Cloneable
A JSON object containing the following fields:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateStorediSCSIVolumeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateStorediSCSIVolumeResultclone()booleanequals(Object obj)StringgetTargetARN()he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.StringgetVolumeARN()The Amazon Resource Name (ARN) of the configured volume.LonggetVolumeSizeInBytes()The size of the volume in bytes.inthashCode()voidsetTargetARN(String targetARN)he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.voidsetVolumeARN(String volumeARN)The Amazon Resource Name (ARN) of the configured volume.voidsetVolumeSizeInBytes(Long volumeSizeInBytes)The size of the volume in bytes.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateStorediSCSIVolumeResultwithTargetARN(String targetARN)he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.CreateStorediSCSIVolumeResultwithVolumeARN(String volumeARN)The Amazon Resource Name (ARN) of the configured volume.CreateStorediSCSIVolumeResultwithVolumeSizeInBytes(Long volumeSizeInBytes)The size of the volume in bytes.
-
-
-
Method Detail
-
setVolumeARN
public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the configured volume.
- Parameters:
volumeARN- The Amazon Resource Name (ARN) of the configured volume.
-
getVolumeARN
public String getVolumeARN()
The Amazon Resource Name (ARN) of the configured volume.
- Returns:
- The Amazon Resource Name (ARN) of the configured volume.
-
withVolumeARN
public CreateStorediSCSIVolumeResult withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the configured volume.
- Parameters:
volumeARN- The Amazon Resource Name (ARN) of the configured volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeSizeInBytes
public void setVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
- Parameters:
volumeSizeInBytes- The size of the volume in bytes.
-
getVolumeSizeInBytes
public Long getVolumeSizeInBytes()
The size of the volume in bytes.
- Returns:
- The size of the volume in bytes.
-
withVolumeSizeInBytes
public CreateStorediSCSIVolumeResult withVolumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
- Parameters:
volumeSizeInBytes- The size of the volume in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetARN
public void setTargetARN(String targetARN)
he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.
- Parameters:
targetARN- he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.
-
getTargetARN
public String getTargetARN()
he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.
- Returns:
- he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.
-
withTargetARN
public CreateStorediSCSIVolumeResult withTargetARN(String targetARN)
he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.
- Parameters:
targetARN- he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target.- 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 CreateStorediSCSIVolumeResult clone()
-
-