public class UpdateChapCredentialsRequest extends AmazonWebServiceRequest implements java.io.Serializable
UpdateChapCredentials operation.
This operation updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for added security, you might use it.
IMPORTANT: When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials.
| コンストラクタと説明 |
|---|
UpdateChapCredentialsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInitiatorName()
The iSCSI initiator that connects to the target.
|
java.lang.String |
getSecretToAuthenticateInitiator()
The secret key that the initiator (e.g.
|
java.lang.String |
getSecretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g.
|
java.lang.String |
getTargetARN()
The Amazon Resource Name (ARN) of the iSCSI volume target.
|
int |
hashCode() |
void |
setInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
|
void |
setSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
The secret key that the initiator (e.g.
|
void |
setSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g.
|
void |
setTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateChapCredentialsRequest |
withInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
|
UpdateChapCredentialsRequest |
withSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
The secret key that the initiator (e.g.
|
UpdateChapCredentialsRequest |
withSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g.
|
UpdateChapCredentialsRequest |
withTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getTargetARN()
Constraints:
Length: 50 - 800
public void setTargetARN(java.lang.String targetARN)
Constraints:
Length: 50 - 800
targetARN - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the
DescribeStorediSCSIVolumes operation to return to retrieve the
TargetARN for specified VolumeARN.public UpdateChapCredentialsRequest withTargetARN(java.lang.String targetARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 800
targetARN - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the
DescribeStorediSCSIVolumes operation to return to retrieve the
TargetARN for specified VolumeARN.public java.lang.String getSecretToAuthenticateInitiator()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
Constraints:
Length: 12 - 16
secretToAuthenticateInitiator - The secret key that the initiator (e.g. Windows client) must provide
to participate in mutual CHAP with the target.public UpdateChapCredentialsRequest withSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 16
secretToAuthenticateInitiator - The secret key that the initiator (e.g. Windows client) must provide
to participate in mutual CHAP with the target.public java.lang.String getInitiatorName()
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
public void setInitiatorName(java.lang.String initiatorName)
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
initiatorName - The iSCSI initiator that connects to the target.public UpdateChapCredentialsRequest withInitiatorName(java.lang.String initiatorName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
initiatorName - The iSCSI initiator that connects to the target.public java.lang.String getSecretToAuthenticateTarget()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
Constraints:
Length: 12 - 16
secretToAuthenticateTarget - The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g. Windows client).public UpdateChapCredentialsRequest withSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 16
secretToAuthenticateTarget - The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g. Windows client).public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object