public class UpdateAliasResult extends Object implements Serializable, Cloneable
Provides configuration information about a Lambda function version alias.
Constructor and Description |
---|
UpdateAliasResult() |
Modifier and Type | Method and Description |
---|---|
UpdateAliasResult |
clone() |
boolean |
equals(Object obj) |
String |
getAliasArn()
Lambda function ARN that is qualified using 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 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 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.
|
public String getAliasArn()
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.public void setAliasArn(String aliasArn)
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
aliasArn
- Lambda function ARN that is qualified using alias name as the suffix.
For example, if you create an alias "BETA" pointing to a helloworld
function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.public UpdateAliasResult withAliasArn(String aliasArn)
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
aliasArn
- Lambda function ARN that is qualified using alias name as the suffix.
For example, if you create an alias "BETA" pointing to a helloworld
function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.public String getName()
Constraints:
Length: 1 - 128
Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_]+)
public void setName(String name)
Constraints:
Length: 1 - 128
Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_]+)
name
- Alias name.public UpdateAliasResult withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_]+)
name
- Alias name.public String getFunctionVersion()
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
public void setFunctionVersion(String functionVersion)
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
functionVersion
- Function version to which the alias points.public UpdateAliasResult withFunctionVersion(String functionVersion)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: (\$LATEST|[0-9]+)
functionVersion
- Function version to which the alias points.public String getDescription()
Constraints:
Length: 0 - 256
public void setDescription(String description)
Constraints:
Length: 0 - 256
description
- Alias description.public UpdateAliasResult withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
description
- Alias description.public String toString()
toString
in class Object
Object.toString()
public UpdateAliasResult clone()
Copyright © 2015. All rights reserved.