Class DeviceiSCSIAttributes
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.DeviceiSCSIAttributes
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DeviceiSCSIAttributes extends Object implements Serializable, Cloneable
Lists iSCSI information about a VTL device.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceiSCSIAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceiSCSIAttributes
clone()
boolean
equals(Object obj)
Boolean
getChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.String
getNetworkInterfaceId()
The network interface identifier of the VTL device.Integer
getNetworkInterfacePort()
The port used to communicate with iSCSI VTL device targets.String
getTargetARN()
Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer 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
setNetworkInterfaceId(String networkInterfaceId)
The network interface identifier of the VTL device.void
setNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI VTL device targets.void
setTargetARN(String targetARN)
Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeviceiSCSIAttributes
withChapEnabled(Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.DeviceiSCSIAttributes
withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier of the VTL device.DeviceiSCSIAttributes
withNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI VTL device targets.DeviceiSCSIAttributes
withTargetARN(String targetARN)
Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.
-
-
-
Method Detail
-
setTargetARN
public void setTargetARN(String targetARN)
Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.
- Parameters:
targetARN
- Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.
-
getTargetARN
public String getTargetARN()
Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.
- Returns:
- Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.
-
withTargetARN
public DeviceiSCSIAttributes withTargetARN(String targetARN)
Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.
- Parameters:
targetARN
- Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer 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 of the VTL device.
- Parameters:
networkInterfaceId
- The network interface identifier of the VTL device.
-
getNetworkInterfaceId
public String getNetworkInterfaceId()
The network interface identifier of the VTL device.
- Returns:
- The network interface identifier of the VTL device.
-
withNetworkInterfaceId
public DeviceiSCSIAttributes withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier of the VTL device.
- Parameters:
networkInterfaceId
- The network interface identifier of the VTL device.- 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 VTL device targets.
- Parameters:
networkInterfacePort
- The port used to communicate with iSCSI VTL device targets.
-
getNetworkInterfacePort
public Integer getNetworkInterfacePort()
The port used to communicate with iSCSI VTL device targets.
- Returns:
- The port used to communicate with iSCSI VTL device targets.
-
withNetworkInterfacePort
public DeviceiSCSIAttributes withNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI VTL device targets.
- Parameters:
networkInterfacePort
- The port used to communicate with iSCSI VTL device targets.- 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 DeviceiSCSIAttributes 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 DeviceiSCSIAttributes clone()
-
-