Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class VolumeiSCSIAttributes

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

public class VolumeiSCSIAttributes
extends Object
implements Serializable

Lists iSCSI information about a volume.

See Also:
Serialized Form

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

Constructor Detail

VolumeiSCSIAttributes

public VolumeiSCSIAttributes()
Method Detail

getTargetARN

public String getTargetARN()
The Amazon Resource Name (ARN) of the volume target.

Constraints:
Length: 50 - 800

Returns:
The Amazon Resource Name (ARN) of the volume target.

setTargetARN

public void setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target.

Constraints:
Length: 50 - 800

Parameters:
targetARN - The Amazon Resource Name (ARN) of the volume target.

withTargetARN

public VolumeiSCSIAttributes withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume target.

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

Constraints:
Length: 50 - 800

Parameters:
targetARN - The Amazon Resource Name (ARN) of the volume target.
Returns:
A reference to this updated object so that method calls can be chained together.

getNetworkInterfaceId

public String getNetworkInterfaceId()
The network interface identifier.

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.

setNetworkInterfaceId

public void setNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.

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.

withNetworkInterfaceId

public VolumeiSCSIAttributes withNetworkInterfaceId(String networkInterfaceId)
The network interface identifier.

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.
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 targets.

Returns:
The port used to communicate with iSCSI targets.

setNetworkInterfacePort

public void setNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI targets.

Parameters:
networkInterfacePort - The port used to communicate with iSCSI targets.

withNetworkInterfacePort

public VolumeiSCSIAttributes withNetworkInterfacePort(Integer networkInterfacePort)
The port used to communicate with iSCSI targets.

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

Parameters:
networkInterfacePort - The port used to communicate with iSCSI targets.
Returns:
A reference to this updated object so that method calls can be chained together.

getLunNumber

public Integer getLunNumber()
The logical disk number.

Constraints:
Range: 1 -

Returns:
The logical disk number.

setLunNumber

public void setLunNumber(Integer lunNumber)
The logical disk number.

Constraints:
Range: 1 -

Parameters:
lunNumber - The logical disk number.

withLunNumber

public VolumeiSCSIAttributes withLunNumber(Integer lunNumber)
The logical disk number.

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

Constraints:
Range: 1 -

Parameters:
lunNumber - The logical disk number.
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 VolumeiSCSIAttributes 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.