@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateChapCredentialsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A JSON object containing one or more of the following fields:
NOOP
Constructor and Description |
---|
UpdateChapCredentialsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateChapCredentialsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInitiatorName()
The iSCSI initiator that connects to the target.
|
String |
getSecretToAuthenticateInitiator()
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP
with the target.
|
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 (for example, the Windows client) must provide to participate in mutual CHAP
with the target.
|
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 (for example, the Windows client) must provide to participate in mutual CHAP
with the target.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
targetARN
- The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes
operation to return the TargetARN for specified VolumeARN.public String getTargetARN()
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
public UpdateChapCredentialsRequest withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
targetARN
- The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes
operation to return the TargetARN for specified VolumeARN.public void setSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
secretToAuthenticateInitiator
- The secret key that the initiator (for example, the Windows client) must provide to participate in mutual
CHAP with the target. The secret key must be between 12 and 16 bytes when encoded in UTF-8.
public String getSecretToAuthenticateInitiator()
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
public UpdateChapCredentialsRequest withSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
secretToAuthenticateInitiator
- The secret key that the initiator (for example, the Windows client) must provide to participate in mutual
CHAP with the target. The secret key must be between 12 and 16 bytes when encoded in UTF-8.
public void setInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.public String getInitiatorName()
The iSCSI initiator that connects to the target.
public UpdateChapCredentialsRequest withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.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).
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
secretToAuthenticateTarget
- The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows
client).
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
public String getSecretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
public UpdateChapCredentialsRequest withSecretToAuthenticateTarget(String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
secretToAuthenticateTarget
- The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows
client).
Byte constraints: Minimum bytes of 12. Maximum bytes of 16.
The secret key must be between 12 and 16 bytes when encoded in UTF-8.
public String toString()
toString
in class Object
Object.toString()
public UpdateChapCredentialsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.