@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAliasResult extends AmazonWebServiceResult<ResponseMetadata> 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 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 |
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.
|
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.
|
UpdateAliasResult |
withRevisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
UpdateAliasResult |
withRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic
will invoke each version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 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 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 UpdateAliasResult 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 UpdateAliasResult 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 UpdateAliasResult 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.
routingConfig
- Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version.public AliasRoutingConfiguration getRoutingConfig()
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version.
public UpdateAliasResult withRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version.
routingConfig
- Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version.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 UpdateAliasResult 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 UpdateAliasResult clone()
Copyright © 2019. All rights reserved.