@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAliasRequest |
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 or ARN of the Lambda function.
|
String |
getFunctionVersion()
The function version that the alias invokes.
|
String |
getName()
The name of the alias.
|
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 or ARN 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 |
setRoutingConfig(AliasRoutingConfiguration routingConfig)
The
routing configuration of the alias.
|
String |
toString()
Returns a string representation of this object.
|
CreateAliasRequest |
withDescription(String description)
A description of the alias.
|
CreateAliasRequest |
withFunctionName(String functionName)
The name or ARN of the Lambda function.
|
CreateAliasRequest |
withFunctionVersion(String functionVersion)
The function version that the alias invokes.
|
CreateAliasRequest |
withName(String name)
The name of the alias.
|
CreateAliasRequest |
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 or ARN 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 or ARN 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 or ARN 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 CreateAliasRequest withFunctionName(String functionName)
The name or ARN 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 or ARN 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 CreateAliasRequest 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 CreateAliasRequest 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 CreateAliasRequest 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 CreateAliasRequest withRoutingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
routingConfig
- The routing configuration of the alias.public String toString()
toString
in class Object
Object.toString()
public CreateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()