@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AliasConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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.
|
String |
getRevisionId()
Represents the latest updated revision of the function or alias.
|
AliasRoutingConfiguration |
getRoutingConfig()
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic
will invoke each version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
void |
setRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
void |
setRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic
will invoke each version.
|
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.
|
AliasConfiguration |
withRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
AliasConfiguration |
withRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic
will invoke each version.
|
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 void setRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
routingConfig
- Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.public AliasRoutingConfiguration getRoutingConfig()
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
public AliasConfiguration withRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
routingConfig
- Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.public void setRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.public String getRevisionId()
Represents the latest updated revision of the function or alias.
public AliasConfiguration withRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.public String toString()
toString
in class Object
Object.toString()
public AliasConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.