public class VolumeiSCSIAttributes extends Object implements Serializable
Lists iSCSI information about a volume.
Constructor and Description |
---|
VolumeiSCSIAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
Integer |
getLunNumber()
The logical disk number.
|
String |
getNetworkInterfaceId()
The network interface identifier.
|
Integer |
getNetworkInterfacePort()
The port used to communicate with iSCSI targets.
|
String |
getTargetARN()
The Amazon Resource Name (ARN) of the volume target.
|
int |
hashCode() |
Boolean |
isChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
void |
setChapEnabled(Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
void |
setLunNumber(Integer lunNumber)
The logical disk number.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
|
void |
setNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
|
void |
setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeiSCSIAttributes |
withChapEnabled(Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
VolumeiSCSIAttributes |
withLunNumber(Integer lunNumber)
The logical disk number.
|
VolumeiSCSIAttributes |
withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
|
VolumeiSCSIAttributes |
withNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
|
VolumeiSCSIAttributes |
withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target.
|
public String getTargetARN()
Constraints:
Length: 50 - 800
public void setTargetARN(String targetARN)
Constraints:
Length: 50 - 800
targetARN
- The Amazon Resource Name (ARN) of the volume target.public VolumeiSCSIAttributes withTargetARN(String targetARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 800
targetARN
- The Amazon Resource Name (ARN) of the volume target.public String getNetworkInterfaceId()
Constraints:
Pattern: \A(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}\z
public void setNetworkInterfaceId(String networkInterfaceId)
Constraints:
Pattern: \A(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}\z
networkInterfaceId
- The network interface identifier.public VolumeiSCSIAttributes withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \A(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}\z
networkInterfaceId
- The network interface identifier.public Integer getNetworkInterfacePort()
public void setNetworkInterfacePort(Integer networkInterfacePort)
networkInterfacePort
- The port used to communicate with iSCSI targets.public VolumeiSCSIAttributes withNetworkInterfacePort(Integer networkInterfacePort)
Returns a reference to this object so that method calls can be chained together.
networkInterfacePort
- The port used to communicate with iSCSI targets.public Integer getLunNumber()
Constraints:
Range: 1 -
public void setLunNumber(Integer lunNumber)
Constraints:
Range: 1 -
lunNumber
- The logical disk number.public VolumeiSCSIAttributes withLunNumber(Integer lunNumber)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
lunNumber
- The logical disk number.public Boolean isChapEnabled()
public void setChapEnabled(Boolean chapEnabled)
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.public VolumeiSCSIAttributes withChapEnabled(Boolean chapEnabled)
Returns a reference to this object so that method calls can be chained together.
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.public Boolean getChapEnabled()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.