@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()
Description of the alias.
|
String |
getFunctionName()
Name of the Lambda function for which you want to create an alias.
|
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)
Name of the Lambda function for which you want to create an alias.
|
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)
Name of the Lambda function for which you want to create an alias.
|
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, 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)
Name of the Lambda function for which you want to create an alias. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- Name of the Lambda function for which you want to create an alias. Note that the length constraint applies
only to the ARN. If you specify only the function name, it is limited to 64 characters in length.public String getFunctionName()
Name of the Lambda function for which you want to create an alias. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
public CreateAliasRequest withFunctionName(String functionName)
Name of the Lambda function for which you want to create an alias. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- Name of the Lambda function for which you want to create an alias. Note that the length constraint applies
only to the 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 lambda-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 lambda-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 lambda-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 lambda-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 lambda-traffic-shifting-using-aliases.public String toString()
toString
in class Object
Object.toString()
public CreateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.