public class UpdateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateAlias operation
.
Using this API you can update the function version to which the alias points and the alias description. For more information, see Introduction to AWS Lambda Aliases .
This requires permission for the lambda:UpdateAlias action.
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.
|
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.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getFunctionName()
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
public void setFunctionName(String functionName)
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- The function name for which the alias is created.public UpdateAliasRequest withFunctionName(String functionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionName
- The function name for which the alias is created.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
- The alias name.public UpdateAliasRequest 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
- The 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
- Using this parameter you can change the Lambda function version to
which the alias points.public UpdateAliasRequest 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
- Using this parameter you can change the Lambda function version to
which the alias points.public String getDescription()
Constraints:
Length: 0 - 256
public void setDescription(String description)
Constraints:
Length: 0 - 256
description
- You can change the description of the alias using this parameter.public UpdateAliasRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
description
- You can change the description of the alias using this parameter.public String toString()
toString
in class Object
Object.toString()
public UpdateAliasRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.