@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 name of the lambda function.
|
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 name of the lambda function.
|
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 name of the lambda function.
|
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 name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public String getFunctionName()
The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public UpdateAliasRequest withFunctionName(String functionName)
The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full 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 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 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 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 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 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 retrieve the latest function version or alias
RevisionID
using either GetFunction or GetAlias.
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 retrieve the latest function version
or alias RevisionID
using either GetFunction or GetAlias.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 retrieve the latest function version or alias
RevisionID
using either GetFunction or GetAlias.
RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you retrieve the latest function version
or alias RevisionID
using either GetFunction or GetAlias.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 retrieve the latest function version or alias
RevisionID
using either GetFunction or GetAlias.
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 retrieve the latest function version
or alias RevisionID
using either GetFunction or GetAlias.public String toString()
toString
in class Object
Object.toString()
public UpdateAliasRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.