public class UpdateChapCredentialsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A JSON object containing one or more of the following fields:
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
initiatorName
The iSCSI initiator that connects to the target.
|
private java.lang.String |
secretToAuthenticateInitiator
The secret key that the initiator (for example, the Windows client) must
provide to participate in mutual CHAP with the target.
|
private java.lang.String |
secretToAuthenticateTarget
The secret key that the target must provide to participate in mutual CHAP
with the initiator (e.g.
|
private java.lang.String |
targetARN
The Amazon Resource Name (ARN) of the iSCSI volume target.
|
NOOP
Constructor and Description |
---|
UpdateChapCredentialsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateChapCredentialsRequest |
clone()
Creates a shallow clone of this request.
|
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 (for example, the Windows client) must
provide to participate in mutual CHAP with the target.
|
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 (for example, the Windows client) must
provide to participate in mutual CHAP with the target.
|
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 (for example, the Windows client) must
provide to participate in mutual CHAP with the target.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String targetARN
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
private java.lang.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.
private java.lang.String initiatorName
The iSCSI initiator that connects to the target.
private java.lang.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.
public void setTargetARN(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.public java.lang.String getInitiatorName()
The iSCSI initiator that connects to the target.
public UpdateChapCredentialsRequest withInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.public void setSecretToAuthenticateTarget(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateChapCredentialsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()