Class UpdateAliasResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.UpdateAliasResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class UpdateAliasResult extends Object implements Serializable, Cloneable
Provides configuration information about a Lambda function version alias.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateAliasResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAliasResult
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.UpdateAliasResult
withAliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.UpdateAliasResult
withDescription(String description)
Alias description.UpdateAliasResult
withFunctionVersion(String functionVersion)
Function version to which the alias points.UpdateAliasResult
withName(String name)
Alias name.
-
-
-
Method Detail
-
setAliasArn
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 isarn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.- Parameters:
aliasArn
- Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias calledBETA
that points to a helloworld function version, the ARN isarn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.
-
getAliasArn
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 isarn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.- Returns:
- 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 isarn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.
-
withAliasArn
public UpdateAliasResult 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 isarn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.- Parameters:
aliasArn
- Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias calledBETA
that points to a helloworld function version, the ARN isarn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
Alias name.
- Parameters:
name
- Alias name.
-
getName
public String getName()
Alias name.
- Returns:
- Alias name.
-
withName
public UpdateAliasResult withName(String name)
Alias name.
- Parameters:
name
- Alias name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFunctionVersion
public void setFunctionVersion(String functionVersion)
Function version to which the alias points.
- Parameters:
functionVersion
- Function version to which the alias points.
-
getFunctionVersion
public String getFunctionVersion()
Function version to which the alias points.
- Returns:
- Function version to which the alias points.
-
withFunctionVersion
public UpdateAliasResult withFunctionVersion(String functionVersion)
Function version to which the alias points.
- Parameters:
functionVersion
- Function version to which the alias points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
Alias description.
- Parameters:
description
- Alias description.
-
getDescription
public String getDescription()
Alias description.
- Returns:
- Alias description.
-
withDescription
public UpdateAliasResult withDescription(String description)
Alias description.
- Parameters:
description
- Alias description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateAliasResult clone()
-
-