Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class ChapInfo

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

public class ChapInfo
extends Object
implements Serializable

Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.

See Also:
Serialized Form

Constructor Summary
ChapInfo()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getInitiatorName()
          The iSCSI initiator that connects to the target.
 String getSecretToAuthenticateInitiator()
          The secret key that the initiator (e.g.
 String getSecretToAuthenticateTarget()
          The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.
 String getTargetARN()
          The Amazon Resource Name (ARN) of the volume.
 int hashCode()
           
 void setInitiatorName(String initiatorName)
          The iSCSI initiator that connects to the target.
 void setSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
          The secret key that the initiator (e.g.
 void setSecretToAuthenticateTarget(String secretToAuthenticateTarget)
          The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.
 void setTargetARN(String targetARN)
          The Amazon Resource Name (ARN) of the volume.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ChapInfo withInitiatorName(String initiatorName)
          The iSCSI initiator that connects to the target.
 ChapInfo withSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
          The secret key that the initiator (e.g.
 ChapInfo withSecretToAuthenticateTarget(String secretToAuthenticateTarget)
          The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.
 ChapInfo withTargetARN(String targetARN)
          The Amazon Resource Name (ARN) of the volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChapInfo

public ChapInfo()
Method Detail

getTargetARN

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

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

Constraints:
Length: 50 - 800

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

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).


setTargetARN

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

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

Constraints:
Length: 50 - 800

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

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).


withTargetARN

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

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

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.

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

Returns:
A reference to this updated object so that method calls can be chained together.

getSecretToAuthenticateInitiator

public String getSecretToAuthenticateInitiator()
The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

Constraints:
Length: 12 - 16

Returns:
The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

setSecretToAuthenticateInitiator

public void setSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

Constraints:
Length: 12 - 16

Parameters:
secretToAuthenticateInitiator - The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

withSecretToAuthenticateInitiator

public ChapInfo withSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

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

Constraints:
Length: 12 - 16

Parameters:
secretToAuthenticateInitiator - The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
Returns:
A reference to this updated object so that method calls can be chained together.

getInitiatorName

public String getInitiatorName()
The iSCSI initiator that connects to the target.

Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+

Returns:
The iSCSI initiator that connects to the target.

setInitiatorName

public void setInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.

Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+

Parameters:
initiatorName - The iSCSI initiator that connects to the target.

withInitiatorName

public ChapInfo withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.

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

Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+

Parameters:
initiatorName - The iSCSI initiator that connects to the target.
Returns:
A reference to this updated object so that method calls can be chained together.

getSecretToAuthenticateTarget

public String getSecretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

Constraints:
Length: 12 - 16

Returns:
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

setSecretToAuthenticateTarget

public void setSecretToAuthenticateTarget(String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

Constraints:
Length: 12 - 16

Parameters:
secretToAuthenticateTarget - The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

withSecretToAuthenticateTarget

public ChapInfo withSecretToAuthenticateTarget(String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

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

Constraints:
Length: 12 - 16

Parameters:
secretToAuthenticateTarget - The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
Returns:
A reference to this updated object so that method calls can be chained together.

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.