Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class UpdateChapCredentialsResult

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.UpdateChapCredentialsResult
All Implemented Interfaces:
Serializable

public class UpdateChapCredentialsResult
extends Object
implements Serializable

A JSON object containing the following fields:

See Also:
Serialized Form

Constructor Summary
UpdateChapCredentialsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getInitiatorName()
          The iSCSI initiator that connects to the target.
 String getTargetARN()
          The Amazon Resource Name (ARN) of the target.
 int hashCode()
           
 void setInitiatorName(String initiatorName)
          The iSCSI initiator that connects to the target.
 void setTargetARN(String targetARN)
          The Amazon Resource Name (ARN) of the target.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateChapCredentialsResult withInitiatorName(String initiatorName)
          The iSCSI initiator that connects to the target.
 UpdateChapCredentialsResult withTargetARN(String targetARN)
          The Amazon Resource Name (ARN) of the target.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateChapCredentialsResult

public UpdateChapCredentialsResult()
Method Detail

getTargetARN

public String getTargetARN()
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.

Constraints:
Length: 50 - 800

Returns:
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.

setTargetARN

public void setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.

Constraints:
Length: 50 - 800

Parameters:
targetARN - The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.

withTargetARN

public UpdateChapCredentialsResult withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 800

Parameters:
targetARN - The Amazon Resource Name (ARN) of the target. This is the same target specified in the request.
Returns:
A reference to this updated object so that method calls can be chained together.

getInitiatorName

public String getInitiatorName()
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.

Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+

Returns:
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.

setInitiatorName

public void setInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.

Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+

Parameters:
initiatorName - The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.

withInitiatorName

public UpdateChapCredentialsResult withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+

Parameters:
initiatorName - The iSCSI initiator that connects to the target. This is the same initiator name specified in the request.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.