|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.storagegateway.model.UpdateChapCredentialsRequest
public class UpdateChapCredentialsRequest
Container for the parameters to the 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.
AWSStorageGateway.updateChapCredentials(UpdateChapCredentialsRequest)| Constructor Summary | |
|---|---|
UpdateChapCredentialsRequest()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateChapCredentialsRequest()
| Method Detail |
|---|
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()
Length: Minimum length of 12. Maximum length of 16.
Constraints:
Length: 12 - 16
Length: Minimum length of 12. Maximum length of 16.
public void setSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
Length: Minimum length of 12. Maximum length of 16.
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. Length: Minimum length of 12. Maximum length of 16.
public UpdateChapCredentialsRequest withSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
Length: Minimum length of 12. Maximum length of 16.
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. Length: Minimum length of 12. Maximum length of 16.
public String getInitiatorName()
Length: Minimum length of 1. Maximum length of 255.
Valid Values: The initiator name can contain lowercase letters, numbers, periods (.), and hyphens (-).
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
Length: Minimum length of 1. Maximum length of 255.
Valid Values: The initiator name can contain lowercase letters, numbers, periods (.), and hyphens (-).
public void setInitiatorName(String initiatorName)
Length: Minimum length of 1. Maximum length of 255.
Valid Values: The initiator name can contain lowercase letters, numbers, periods (.), and hyphens (-).
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
initiatorName - The iSCSI initiator that connects to the target. Length: Minimum length of 1. Maximum length of 255.
Valid Values: The initiator name can contain lowercase letters, numbers, periods (.), and hyphens (-).
public UpdateChapCredentialsRequest withInitiatorName(String initiatorName)
Length: Minimum length of 1. Maximum length of 255.
Valid Values: The initiator name can contain lowercase letters, numbers, periods (.), and hyphens (-).
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. Length: Minimum length of 1. Maximum length of 255.
Valid Values: The initiator name can contain lowercase letters, numbers, periods (.), and hyphens (-).
public String getSecretToAuthenticateTarget()
Length: Minimum length of 12. Maximum length of 16.
Constraints:
Length: 12 - 16
Length: Minimum length of 12. Maximum length of 16.
public void setSecretToAuthenticateTarget(String secretToAuthenticateTarget)
Length: Minimum length of 12. Maximum length of 16.
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). Length: Minimum length of 12. Maximum length of 16.
public UpdateChapCredentialsRequest withSecretToAuthenticateTarget(String secretToAuthenticateTarget)
Length: Minimum length of 12. Maximum length of 16.
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). Length: Minimum length of 12. Maximum length of 16.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||