@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateAliasRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateAliasRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAliasName()
A friendly name that you can use to refer a key.
|
String |
getKeyArn()
The
KeyARN of the key to associate with the alias. |
int |
hashCode() |
void |
setAliasName(String aliasName)
A friendly name that you can use to refer a key.
|
void |
setKeyArn(String keyArn)
The
KeyARN of the key to associate with the alias. |
String |
toString()
Returns a string representation of this object.
|
CreateAliasRequest |
withAliasName(String aliasName)
A friendly name that you can use to refer a key.
|
CreateAliasRequest |
withKeyArn(String keyArn)
The
KeyARN of the key to associate with the alias. |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAliasName(String aliasName)
A friendly name that you can use to refer a key. An alias must begin with alias/ followed by a name,
for example alias/ExampleAlias. It can contain only alphanumeric characters, forward slashes (/),
underscores (_), and dashes (-).
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
aliasName - A friendly name that you can use to refer a key. An alias must begin with alias/ followed by
a name, for example alias/ExampleAlias. It can contain only alphanumeric characters, forward
slashes (/), underscores (_), and dashes (-). Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
public String getAliasName()
A friendly name that you can use to refer a key. An alias must begin with alias/ followed by a name,
for example alias/ExampleAlias. It can contain only alphanumeric characters, forward slashes (/),
underscores (_), and dashes (-).
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
alias/ followed by
a name, for example alias/ExampleAlias. It can contain only alphanumeric characters, forward
slashes (/), underscores (_), and dashes (-). Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
public CreateAliasRequest withAliasName(String aliasName)
A friendly name that you can use to refer a key. An alias must begin with alias/ followed by a name,
for example alias/ExampleAlias. It can contain only alphanumeric characters, forward slashes (/),
underscores (_), and dashes (-).
Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
aliasName - A friendly name that you can use to refer a key. An alias must begin with alias/ followed by
a name, for example alias/ExampleAlias. It can contain only alphanumeric characters, forward
slashes (/), underscores (_), and dashes (-). Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
public void setKeyArn(String keyArn)
The KeyARN of the key to associate with the alias.
keyArn - The KeyARN of the key to associate with the alias.public String getKeyArn()
The KeyARN of the key to associate with the alias.
KeyARN of the key to associate with the alias.public CreateAliasRequest withKeyArn(String keyArn)
The KeyARN of the key to associate with the alias.
keyArn - The KeyARN of the key to associate with the alias.public String toString()
toString in class ObjectObject.toString()public CreateAliasRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.