public class AliasConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides configuration information about a Lambda function version alias.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
aliasArn
Lambda function ARN that is qualified using the alias name as the suffix.
|
private java.lang.String |
description
Alias description.
|
private java.lang.String |
functionVersion
Function version to which the alias points.
|
private java.lang.String |
name
Alias name.
|
Constructor and Description |
---|
AliasConfiguration() |
Modifier and Type | Method and Description |
---|---|
AliasConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAliasArn()
Lambda function ARN that is qualified using the alias name as the suffix.
|
java.lang.String |
getDescription()
Alias description.
|
java.lang.String |
getFunctionVersion()
Function version to which the alias points.
|
java.lang.String |
getName()
Alias name.
|
int |
hashCode() |
void |
setAliasArn(java.lang.String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
|
void |
setDescription(java.lang.String description)
Alias description.
|
void |
setFunctionVersion(java.lang.String functionVersion)
Function version to which the alias points.
|
void |
setName(java.lang.String name)
Alias name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AliasConfiguration |
withAliasArn(java.lang.String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
|
AliasConfiguration |
withDescription(java.lang.String description)
Alias description.
|
AliasConfiguration |
withFunctionVersion(java.lang.String functionVersion)
Function version to which the alias points.
|
AliasConfiguration |
withName(java.lang.String name)
Alias name.
|
private java.lang.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
.
private java.lang.String name
Alias name.
private java.lang.String functionVersion
Function version to which the alias points.
private java.lang.String description
Alias description.
public void setAliasArn(java.lang.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 java.lang.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(java.lang.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(java.lang.String name)
Alias name.
name
- Alias name.public java.lang.String getName()
Alias name.
public AliasConfiguration withName(java.lang.String name)
Alias name.
name
- Alias name.public void setFunctionVersion(java.lang.String functionVersion)
Function version to which the alias points.
functionVersion
- Function version to which the alias points.public java.lang.String getFunctionVersion()
Function version to which the alias points.
public AliasConfiguration withFunctionVersion(java.lang.String functionVersion)
Function version to which the alias points.
functionVersion
- Function version to which the alias points.public void setDescription(java.lang.String description)
Alias description.
description
- Alias description.public java.lang.String getDescription()
Alias description.
public AliasConfiguration withDescription(java.lang.String description)
Alias description.
description
- Alias description.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AliasConfiguration clone()
clone
in class java.lang.Object