|
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.identitymanagement.model.CreateAccountAliasRequest
public class CreateAccountAliasRequest
Container for the parameters to the CreateAccountAlias operation
.
This action creates an alias for your AWS account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management .
AmazonIdentityManagement.createAccountAlias(CreateAccountAliasRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateAccountAliasRequest()
Default constructor for a new CreateAccountAliasRequest object. |
|
CreateAccountAliasRequest(String accountAlias)
Constructs a new CreateAccountAliasRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAccountAlias()
Name of the account alias to create. |
int |
hashCode()
|
void |
setAccountAlias(String accountAlias)
Name of the account alias to create. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateAccountAliasRequest |
withAccountAlias(String accountAlias)
Name of the account alias to create. |
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 CreateAccountAliasRequest()
public CreateAccountAliasRequest(String accountAlias)
accountAlias
- Name of the account alias to create.Method Detail |
---|
public String getAccountAlias()
Constraints:
Length: 3 - 63
Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$
public void setAccountAlias(String accountAlias)
Constraints:
Length: 3 - 63
Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$
accountAlias
- Name of the account alias to create.public CreateAccountAliasRequest withAccountAlias(String accountAlias)
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])?$
accountAlias
- Name of the account alias to create.
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 |