public class UpdateChapCredentialsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP
Constructor and Description |
---|
UpdateChapCredentialsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateChapCredentialsRequest |
clone()
Creates a shallow clone of this request.
|
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 iSCSI volume target.
|
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 iSCSI volume target.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateChapCredentialsRequest |
withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.
|
UpdateChapCredentialsRequest |
withSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
The secret key that the initiator (e.g.
|
UpdateChapCredentialsRequest |
withSecretToAuthenticateTarget(String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g.
|
UpdateChapCredentialsRequest |
withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getTargetARN()
Constraints:
Length: 50 - 800
public void setTargetARN(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(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 String getSecretToAuthenticateInitiator()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateInitiator(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(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 String getInitiatorName()
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
public void setInitiatorName(String initiatorName)
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
initiatorName
- The iSCSI initiator that connects to the target.public UpdateChapCredentialsRequest withInitiatorName(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 String getSecretToAuthenticateTarget()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateTarget(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(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 String toString()
toString
in class Object
Object.toString()
public UpdateChapCredentialsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.