@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() |
boolean |
equals(Object obj) |
String |
getDescription()
Description of the alias.
|
String |
getFunctionName()
The name of the lambda function.
|
String |
getFunctionVersion()
Lambda function version for which you are creating the alias.
|
String |
getName()
Name for the alias you are creating.
|
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)
Description of the alias.
|
void |
setFunctionName(String functionName)
The name of the lambda function.
|
void |
setFunctionVersion(String functionVersion)
Lambda function version for which you are creating the alias.
|
void |
setName(String name)
Name for the alias you are creating.
|
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.
|
CreateAliasRequest |
withDescription(String description)
Description of the alias.
|
CreateAliasRequest |
withFunctionName(String functionName)
The name of the lambda function.
|
CreateAliasRequest |
withFunctionVersion(String functionVersion)
Lambda function version for which you are creating the alias.
|
CreateAliasRequest |
withName(String name)
Name for the alias you are creating.
|
CreateAliasRequest |
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 CreateAliasRequest 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)
Name for the alias you are creating.
name
- Name for the alias you are creating.public String getName()
Name for the alias you are creating.
public CreateAliasRequest withName(String name)
Name for the alias you are creating.
name
- Name for the alias you are creating.public void setFunctionVersion(String functionVersion)
Lambda function version for which you are creating the alias.
functionVersion
- Lambda function version for which you are creating the alias.public String getFunctionVersion()
Lambda function version for which you are creating the alias.
public CreateAliasRequest withFunctionVersion(String functionVersion)
Lambda function version for which you are creating the alias.
functionVersion
- Lambda function version for which you are creating the alias.public void setDescription(String description)
Description of the alias.
description
- Description of the alias.public String getDescription()
Description of the alias.
public CreateAliasRequest withDescription(String description)
Description of the alias.
description
- Description of the alias.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 CreateAliasRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateAliasRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.