|
Did this page help you?Yes No Tell us about it... |
||||||
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.
IMPORTANT: When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials.
AWSStorageGateway.updateChapCredentials(UpdateChapCredentialsRequest)
,
Serialized FormConstructor 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()
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |