@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the alias.
|
String |
getFunctionName()
The name of the Lambda function.
|
String |
getFunctionVersion()
The function version that the alias invokes.
|
String |
getName()
The name of the alias.
|
String |
getRevisionId()
Only update the alias if the revision ID matches the ID that's specified.
|
AliasRoutingConfiguration |
getRoutingConfig()
The
routing configuration of the alias.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the alias.
|
void |
setFunctionName(String functionName)
The name of the Lambda function.
|
void |
setFunctionVersion(String functionVersion)
The function version that the alias invokes.
|
void |
setName(String name)
The name of the alias.
|
void |
setRevisionId(String revisionId)
Only update the alias if the revision ID matches the ID that's specified.
|
void |
setRoutingConfig(AliasRoutingConfiguration routingConfig)
The
routing configuration of the alias.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAliasRequest |
withDescription(String description)
A description of the alias.
|
UpdateAliasRequest |
withFunctionName(String functionName)
The name of the Lambda function.
|
UpdateAliasRequest |
withFunctionVersion(String functionVersion)
The function version that the alias invokes.
|
UpdateAliasRequest |
withName(String name)
The name of the alias.
|
UpdateAliasRequest |
withRevisionId(String revisionId)
Only update the alias if the revision ID matches the ID that's specified.
|
UpdateAliasRequest |
withRoutingConfig(AliasRoutingConfiguration routingConfig)
The
routing configuration of the alias.
|
addHandlerContext, 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 name of the alias.
name
- The name of the alias.public String getName()
The name of the alias.
public UpdateAliasRequest withName(String name)
The name of the alias.
name
- The name of the alias.public void setFunctionVersion(String functionVersion)
The function version that the alias invokes.
functionVersion
- The function version that the alias invokes.public String getFunctionVersion()
The function version that the alias invokes.
public UpdateAliasRequest withFunctionVersion(String functionVersion)
The function version that the alias invokes.
functionVersion
- The function version that the alias invokes.public void setDescription(String description)
A description of the alias.
description
- A description of the alias.public String getDescription()
A description of the alias.
public UpdateAliasRequest withDescription(String description)
A description of the alias.
description
- A description of the alias.public void setRoutingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
routingConfig
- The routing configuration of the alias.public AliasRoutingConfiguration getRoutingConfig()
The routing configuration of the alias.
public UpdateAliasRequest withRoutingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
routingConfig
- The routing configuration of the alias.public void setRevisionId(String revisionId)
Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
revisionId
- Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid
modifying an alias that has changed since you last read it.public String getRevisionId()
Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
public UpdateAliasRequest withRevisionId(String revisionId)
Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
revisionId
- Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid
modifying an alias that has changed since you last read it.public String toString()
toString
in class Object
Object.toString()
public UpdateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.