@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachVolumeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
AttachVolumeOutput
Constructor and Description |
---|
AttachVolumeResult() |
Modifier and Type | Method and Description |
---|---|
AttachVolumeResult |
clone() |
boolean |
equals(Object obj) |
String |
getTargetARN()
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that was
used to connect to the target.
|
String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume that was attached to the gateway.
|
int |
hashCode() |
void |
setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that was
used to connect to the target.
|
void |
setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was attached to the gateway.
|
String |
toString()
Returns a string representation of this object.
|
AttachVolumeResult |
withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that was
used to connect to the target.
|
AttachVolumeResult |
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was attached to the gateway.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was attached to the gateway.
volumeARN
- The Amazon Resource Name (ARN) of the volume that was attached to the gateway.public String getVolumeARN()
The Amazon Resource Name (ARN) of the volume that was attached to the gateway.
public AttachVolumeResult withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was attached to the gateway.
volumeARN
- The Amazon Resource Name (ARN) of the volume that was attached to the gateway.public void setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that was used to connect to the target.
targetARN
- The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that
was used to connect to the target.public String getTargetARN()
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that was used to connect to the target.
public AttachVolumeResult withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that was used to connect to the target.
targetARN
- The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI name for the initiator that
was used to connect to the target.public String toString()
toString
in class Object
Object.toString()
public AttachVolumeResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.