Class VolumeiSCSIAttributes
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.VolumeiSCSIAttributes
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class VolumeiSCSIAttributes extends Object implements Serializable, Cloneable
Lists iSCSI information about a volume.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeiSCSIAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeiSCSIAttributes
clone()
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.
-
-
-
Method Detail
-
setTargetARN
public void setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target.
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the volume target.
-
getTargetARN
public String getTargetARN()
The Amazon Resource Name (ARN) of the volume target.
- Returns:
- The Amazon Resource Name (ARN) of the volume target.
-
withTargetARN
public VolumeiSCSIAttributes withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target.
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the volume target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfaceId
public void setNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
- Parameters:
networkInterfaceId
- The network interface identifier.
-
getNetworkInterfaceId
public String getNetworkInterfaceId()
The network interface identifier.
- Returns:
- The network interface identifier.
-
withNetworkInterfaceId
public VolumeiSCSIAttributes withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.
- Parameters:
networkInterfaceId
- The network interface identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfacePort
public void setNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
- Parameters:
networkInterfacePort
- The port used to communicate with iSCSI targets.
-
getNetworkInterfacePort
public Integer getNetworkInterfacePort()
The port used to communicate with iSCSI targets.
- Returns:
- The port used to communicate with iSCSI targets.
-
withNetworkInterfacePort
public VolumeiSCSIAttributes withNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
- Parameters:
networkInterfacePort
- The port used to communicate with iSCSI targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLunNumber
public void setLunNumber(Integer lunNumber)
The logical disk number.
- Parameters:
lunNumber
- The logical disk number.
-
getLunNumber
public Integer getLunNumber()
The logical disk number.
- Returns:
- The logical disk number.
-
withLunNumber
public VolumeiSCSIAttributes withLunNumber(Integer lunNumber)
The logical disk number.
- Parameters:
lunNumber
- The logical disk number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChapEnabled
public void setChapEnabled(Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Parameters:
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.
-
getChapEnabled
public Boolean getChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Returns:
- Indicates whether mutual CHAP is enabled for the iSCSI target.
-
withChapEnabled
public VolumeiSCSIAttributes withChapEnabled(Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Parameters:
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isChapEnabled
public Boolean isChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Returns:
- Indicates whether mutual CHAP is enabled for the iSCSI target.
-
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()
-
clone
public VolumeiSCSIAttributes clone()
-
-