Class UpdateChapCredentialsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A JSON object containing one or more of the following fields:
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The iSCSI initiator that connects to the target.The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.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.toString()
Returns a string representation of this object; useful for testing and debugging.withInitiatorName
(String initiatorName) The iSCSI initiator that connects to the target.withSecretToAuthenticateInitiator
(String secretToAuthenticateInitiator) The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.withSecretToAuthenticateTarget
(String secretToAuthenticateTarget) The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.withTargetARN
(String targetARN) The Amazon Resource Name (ARN) of the iSCSI volume target.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
UpdateChapCredentialsRequest
public UpdateChapCredentialsRequest()
-
-
Method Details
-
setTargetARN
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
-
getTargetARN
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
- Returns:
- The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
-
withTargetARN
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return the TargetARN for specified VolumeARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecretToAuthenticateInitiator
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withSecretToAuthenticateInitiator
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInitiatorName
The iSCSI initiator that connects to the target.
- Parameters:
initiatorName
- The iSCSI initiator that connects to the target.
-
getInitiatorName
The iSCSI initiator that connects to the target.
- Returns:
- The iSCSI initiator that connects to the target.
-
withInitiatorName
The iSCSI initiator that connects to the target.
- Parameters:
initiatorName
- The iSCSI initiator that connects to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecretToAuthenticateTarget
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withSecretToAuthenticateTarget
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-