@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAliasRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAliasRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
You can change the description of the alias using this parameter.
|
String |
getFunctionName()
The function name for which the alias is created.
|
String |
getFunctionVersion()
Using this parameter you can change the Lambda function version to which the alias points.
|
String |
getName()
The alias name.
|
String |
getRevisionId()
An optional value you can use to ensure you are updating the latest update of the function version or alias.
|
AliasRoutingConfiguration |
getRoutingConfig()
Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic will
invoke each version.
|
int |
hashCode() |
void |
setDescription(String description)
You can change the description of the alias using this parameter.
|
void |
setFunctionName(String functionName)
The function name for which the alias is created.
|
void |
setFunctionVersion(String functionVersion)
Using this parameter you can change the Lambda function version to which the alias points.
|
void |
setName(String name)
The alias name.
|
void |
setRevisionId(String revisionId)
An optional value you can use to ensure you are updating the latest update of the function version or alias.
|
void |
setRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional version your alias can point 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.
|
UpdateAliasRequest |
withDescription(String description)
You can change the description of the alias using this parameter.
|
UpdateAliasRequest |
withFunctionName(String functionName)
The function name for which the alias is created.
|
UpdateAliasRequest |
withFunctionVersion(String functionVersion)
Using this parameter you can change the Lambda function version to which the alias points.
|
UpdateAliasRequest |
withName(String name)
The alias name.
|
UpdateAliasRequest |
withRevisionId(String revisionId)
An optional value you can use to ensure you are updating the latest update of the function version or alias.
|
UpdateAliasRequest |
withRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic will
invoke each version.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFunctionName(String functionName)
The function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The function name for which the alias is created. Note that the length constraint applies only to the ARN.
If you specify only the function name, it is limited to 64 characters in length.public String getFunctionName()
The function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
public UpdateAliasRequest withFunctionName(String functionName)
The function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The function name for which the alias is created. Note that the length constraint applies only to the ARN.
If you specify only the function name, it is limited to 64 characters in length.public void setName(String name)
The alias name.
name
- The alias name.public String getName()
The alias name.
public UpdateAliasRequest withName(String name)
The alias name.
name
- The alias name.public void setFunctionVersion(String functionVersion)
Using this parameter you can change the Lambda function version to which the alias points.
functionVersion
- Using this parameter you can change the Lambda function version to which the alias points.public String getFunctionVersion()
Using this parameter you can change the Lambda function version to which the alias points.
public UpdateAliasRequest withFunctionVersion(String functionVersion)
Using this parameter you can change the Lambda function version to which the alias points.
functionVersion
- Using this parameter you can change the Lambda function version to which the alias points.public void setDescription(String description)
You can change the description of the alias using this parameter.
description
- You can change the description of the alias using this parameter.public String getDescription()
You can change the description of the alias using this parameter.
public UpdateAliasRequest withDescription(String description)
You can change the description of the alias using this parameter.
description
- You can change the description of the alias using this parameter.public void setRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional version your alias can point 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 version your alias can point 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 version your alias can point to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
public UpdateAliasRequest withRoutingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional version your alias can point 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 version your alias can point 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)
An optional value you can use to ensure you are updating the latest update of the function version or alias. If
the RevisionID
you pass doesn't match the latest RevisionId
of the function or alias,
it will fail with an error message, advising you to retrieve the latest function version or alias
RevisionID
using either or .
revisionId
- An optional value you can use to ensure you are updating the latest update of the function version or
alias. If the RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you to retrieve the latest function
version or alias RevisionID
using either or .public String getRevisionId()
An optional value you can use to ensure you are updating the latest update of the function version or alias. If
the RevisionID
you pass doesn't match the latest RevisionId
of the function or alias,
it will fail with an error message, advising you to retrieve the latest function version or alias
RevisionID
using either or .
RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you to retrieve the latest function
version or alias RevisionID
using either or .public UpdateAliasRequest withRevisionId(String revisionId)
An optional value you can use to ensure you are updating the latest update of the function version or alias. If
the RevisionID
you pass doesn't match the latest RevisionId
of the function or alias,
it will fail with an error message, advising you to retrieve the latest function version or alias
RevisionID
using either or .
revisionId
- An optional value you can use to ensure you are updating the latest update of the function version or
alias. If the RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you to retrieve the latest function
version or alias RevisionID
using either or .public String toString()
toString
in class Object
Object.toString()
public UpdateAliasRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.