public class CreateAliasResult extends Object implements Serializable, Cloneable
Provides configuration information about a Lambda function version alias.
| Constructor and Description | 
|---|
CreateAliasResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateAliasResult | 
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. 
 | 
CreateAliasResult | 
withAliasArn(String aliasArn)
Lambda function ARN that is qualified using alias name as the suffix. 
 | 
CreateAliasResult | 
withDescription(String description)
Alias description. 
 | 
CreateAliasResult | 
withFunctionVersion(String functionVersion)
Function version to which the alias points. 
 | 
CreateAliasResult | 
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 CreateAliasResult 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 CreateAliasResult 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 CreateAliasResult 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 CreateAliasResult 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 ObjectObject.toString()public CreateAliasResult clone()
Copyright © 2015. All rights reserved.