public class DeleteAccountAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 the Using IAM guide.
NOOP
Constructor and Description |
---|
DeleteAccountAliasRequest()
Default constructor for a new DeleteAccountAliasRequest object.
|
DeleteAccountAliasRequest(String accountAlias)
Constructs a new DeleteAccountAliasRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteAccountAliasRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAccountAlias()
The name of the account alias to delete.
|
int |
hashCode() |
void |
setAccountAlias(String accountAlias)
The 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)
The name of the account alias to delete.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteAccountAliasRequest()
public DeleteAccountAliasRequest(String accountAlias)
accountAlias
- The name of the account alias to delete.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
- The name of the account alias to delete.public DeleteAccountAliasRequest 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
- The name of the account alias to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteAccountAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.