com.amazonaws.services.storagegateway.model
Class DeviceiSCSIAttributes

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.DeviceiSCSIAttributes
All Implemented Interfaces:
Serializable

public class DeviceiSCSIAttributes
extends Object
implements Serializable

Lists iSCSI information about a VTL device.

See Also:
Serialized Form

Constructor Summary
DeviceiSCSIAttributes()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeviceiSCSIAttributes

public DeviceiSCSIAttributes()
Method Detail

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.

Constraints:
Length: 50 - 800

Returns:
Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target.

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.

Constraints:
Length: 50 - 800

Parameters:
targetARN - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 800

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:
A reference to this updated object so that method calls can be chained together.

getNetworkInterfaceId

public String getNetworkInterfaceId()
The network interface identifier of the VTL device.

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

Returns:
The network interface identifier of the VTL device.

setNetworkInterfaceId

public void setNetworkInterfaceId(String networkInterfaceId)
The network interface identifier of the VTL device.

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

Parameters:
networkInterfaceId - The network interface identifier of the VTL device.

withNetworkInterfaceId

public DeviceiSCSIAttributes withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier of the VTL device.

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

Parameters:
networkInterfaceId - The network interface identifier of the VTL device.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withNetworkInterfacePort

public DeviceiSCSIAttributes withNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI VTL device targets.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfacePort - The port used to communicate with iSCSI VTL device targets.
Returns:
A reference to this updated 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.

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.

withChapEnabled

public DeviceiSCSIAttributes withChapEnabled(Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.

Returns a reference to this object so that method calls can be chained together.

Parameters:
chapEnabled - Indicates whether mutual CHAP is enabled for the iSCSI target.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.