public class UpdateChapCredentialsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A JSON object containing 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 |
targetARN
The Amazon Resource Name (ARN) of the target.
|
Constructor and Description |
---|
UpdateChapCredentialsResult() |
Modifier and Type | Method and Description |
---|---|
UpdateChapCredentialsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInitiatorName()
The iSCSI initiator that connects to the target.
|
java.lang.String |
getTargetARN()
The Amazon Resource Name (ARN) of the target.
|
int |
hashCode() |
void |
setInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
|
void |
setTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the target.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateChapCredentialsResult |
withInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
|
UpdateChapCredentialsResult |
withTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the target.
|
private java.lang.String targetARN
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.
private java.lang.String initiatorName
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.
public void setTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.
targetARN
- The Amazon Resource Name (ARN) of the target. This is the same
target specified in the request.public java.lang.String getTargetARN()
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.
public UpdateChapCredentialsResult withTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.
targetARN
- The Amazon Resource Name (ARN) of the target. This is the same
target specified in the request.public void setInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.
initiatorName
- The iSCSI initiator that connects to the target. This is the same
initiator name specified in the request.public java.lang.String getInitiatorName()
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.
public UpdateChapCredentialsResult withInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.
initiatorName
- The iSCSI initiator that connects to the target. This is the same
initiator name specified in the request.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 UpdateChapCredentialsResult clone()
clone
in class java.lang.Object