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 DeviceiSCSIAttributesclone()booleanequals(Object obj)BooleangetChapEnabled()Indicates whether mutual CHAP is enabled for the iSCSI target.StringgetNetworkInterfaceId()The network interface identifier of the VTL device.IntegergetNetworkInterfacePort()The port used to communicate with iSCSI VTL device targets.StringgetTargetARN()Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.inthashCode()BooleanisChapEnabled()Indicates whether mutual CHAP is enabled for the iSCSI target.voidsetChapEnabled(Boolean chapEnabled)Indicates whether mutual CHAP is enabled for the iSCSI target.voidsetNetworkInterfaceId(String networkInterfaceId)The network interface identifier of the VTL device.voidsetNetworkInterfacePort(Integer networkInterfacePort)The port used to communicate with iSCSI VTL device targets.voidsetTargetARN(String targetARN)Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeviceiSCSIAttributeswithChapEnabled(Boolean chapEnabled)Indicates whether mutual CHAP is enabled for the iSCSI target.DeviceiSCSIAttributeswithNetworkInterfaceId(String networkInterfaceId)The network interface identifier of the VTL device.DeviceiSCSIAttributeswithNetworkInterfacePort(Integer networkInterfacePort)The port used to communicate with iSCSI VTL device targets.DeviceiSCSIAttributeswithTargetARN(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeviceiSCSIAttributes clone()
-
-