public class AliasConfiguration extends Object implements Serializable, Cloneable
Provides configuration information about a Lambda function version alias.
| Constructor and Description |
|---|
AliasConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AliasConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAliasArn()
Lambda function ARN that is qualified using the alias name as the suffix.
|
String |
getDescription()
Alias description.
|
String |
getFunctionVersion()
Function version to which the alias points.
|
String |
getName()
Alias name.
|
int |
hashCode() |
void |
setAliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
|
void |
setDescription(String description)
Alias description.
|
void |
setFunctionVersion(String functionVersion)
Function version to which the alias points.
|
void |
setName(String name)
Alias name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AliasConfiguration |
withAliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
|
AliasConfiguration |
withDescription(String description)
Alias description.
|
AliasConfiguration |
withFunctionVersion(String functionVersion)
Function version to which the alias points.
|
AliasConfiguration |
withName(String name)
Alias name.
|
public void setAliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
For example, if you create an alias called BETA that points
to a helloworld function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.
aliasArn - Lambda function ARN that is qualified using the alias name as the
suffix. For example, if you create an alias called
BETA that points to a helloworld function version,
the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.public String getAliasArn()
Lambda function ARN that is qualified using the alias name as the suffix.
For example, if you create an alias called BETA that points
to a helloworld function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.
BETA that points to a helloworld function version,
the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.public AliasConfiguration withAliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
For example, if you create an alias called BETA that points
to a helloworld function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.
aliasArn - Lambda function ARN that is qualified using the alias name as the
suffix. For example, if you create an alias called
BETA that points to a helloworld function version,
the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.public void setName(String name)
Alias name.
name - Alias name.public String getName()
Alias name.
public AliasConfiguration withName(String name)
Alias name.
name - Alias name.public void setFunctionVersion(String functionVersion)
Function version to which the alias points.
functionVersion - Function version to which the alias points.public String getFunctionVersion()
Function version to which the alias points.
public AliasConfiguration withFunctionVersion(String functionVersion)
Function version to which the alias points.
functionVersion - Function version to which the alias points.public void setDescription(String description)
Alias description.
description - Alias description.public String getDescription()
Alias description.
public AliasConfiguration withDescription(String description)
Alias description.
description - Alias description.public String toString()
toString in class ObjectObject.toString()public AliasConfiguration clone()
Copyright © 2016. All rights reserved.