Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class DeleteAccountAliasRequest

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

public class DeleteAccountAliasRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteAccountAlias operation.

Deletes the specified AWS account alias. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management .

See Also:
AmazonIdentityManagement.deleteAccountAlias(DeleteAccountAliasRequest), Serialized Form

Constructor Summary
DeleteAccountAliasRequest()
          Default constructor for a new DeleteAccountAliasRequest object.
DeleteAccountAliasRequest(String accountAlias)
          Constructs a new DeleteAccountAliasRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getAccountAlias()
          Name of the account alias to delete.
 int hashCode()
           
 void setAccountAlias(String accountAlias)
          Name of the account alias to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteAccountAliasRequest withAccountAlias(String accountAlias)
          Name of the account alias to delete.
 
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

DeleteAccountAliasRequest

public DeleteAccountAliasRequest()
Default constructor for a new DeleteAccountAliasRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteAccountAliasRequest

public DeleteAccountAliasRequest(String accountAlias)
Constructs a new DeleteAccountAliasRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
accountAlias - Name of the account alias to delete.
Method Detail

getAccountAlias

public String getAccountAlias()
Name of the account alias to delete.

Constraints:
Length: 3 - 63
Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$

Returns:
Name of the account alias to delete.

setAccountAlias

public void setAccountAlias(String accountAlias)
Name of the account alias to delete.

Constraints:
Length: 3 - 63
Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$

Parameters:
accountAlias - Name of the account alias to delete.

withAccountAlias

public DeleteAccountAliasRequest withAccountAlias(String accountAlias)
Name of the account alias to delete.

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

Constraints:
Length: 3 - 63
Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$

Parameters:
accountAlias - Name of the account alias to delete.
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.