Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class DeleteChapCredentialsRequest

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

public class DeleteChapCredentialsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteChapCredentials operation.

This operation deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.

See Also:
AWSStorageGateway.deleteChapCredentials(DeleteChapCredentialsRequest), Serialized Form

Constructor Summary
DeleteChapCredentialsRequest()
           
 
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 iSCSI volume 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 iSCSI volume target.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteChapCredentialsRequest withInitiatorName(String initiatorName)
          The iSCSI initiator that connects to the target.
 DeleteChapCredentialsRequest 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

DeleteChapCredentialsRequest

public DeleteChapCredentialsRequest()
Method Detail

getTargetARN

public String getTargetARN()
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

Constraints:
Length: 50 - 800

Returns:
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

setTargetARN

public void setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

Constraints:
Length: 50 - 800

Parameters:
targetARN - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

withTargetARN

public DeleteChapCredentialsRequest withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

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 iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.
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.

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

Returns:
The iSCSI initiator that connects to the target.

setInitiatorName

public void setInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.

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

Parameters:
initiatorName - The iSCSI initiator that connects to the target.

withInitiatorName

public DeleteChapCredentialsRequest withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.

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.
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.