Class CreateAliasRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.lambda.model.CreateAliasRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateAliasRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAliasRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDescription()Description of the alias.StringgetFunctionName()Name of the Lambda function for which you want to create an alias.StringgetFunctionVersion()Lambda function version for which you are creating the alias.StringgetName()Name for the alias you are creating.inthashCode()voidsetDescription(String description)Description of the alias.voidsetFunctionName(String functionName)Name of the Lambda function for which you want to create an alias.voidsetFunctionVersion(String functionVersion)Lambda function version for which you are creating the alias.voidsetName(String name)Name for the alias you are creating.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateAliasRequestwithDescription(String description)Description of the alias.CreateAliasRequestwithFunctionName(String functionName)Name of the Lambda function for which you want to create an alias.CreateAliasRequestwithFunctionVersion(String functionVersion)Lambda function version for which you are creating the alias.CreateAliasRequestwithName(String name)Name for the alias you are creating.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setFunctionName
public void setFunctionName(String functionName)
Name of the Lambda function for which you want to create an alias.
- Parameters:
functionName- Name of the Lambda function for which you want to create an alias.
-
getFunctionName
public String getFunctionName()
Name of the Lambda function for which you want to create an alias.
- Returns:
- Name of the Lambda function for which you want to create an alias.
-
withFunctionName
public CreateAliasRequest withFunctionName(String functionName)
Name of the Lambda function for which you want to create an alias.
- Parameters:
functionName- Name of the Lambda function for which you want to create an alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
Name for the alias you are creating.
- Parameters:
name- Name for the alias you are creating.
-
getName
public String getName()
Name for the alias you are creating.
- Returns:
- Name for the alias you are creating.
-
withName
public CreateAliasRequest withName(String name)
Name for the alias you are creating.
- Parameters:
name- Name for the alias you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFunctionVersion
public void setFunctionVersion(String functionVersion)
Lambda function version for which you are creating the alias.
- Parameters:
functionVersion- Lambda function version for which you are creating the alias.
-
getFunctionVersion
public String getFunctionVersion()
Lambda function version for which you are creating the alias.
- Returns:
- Lambda function version for which you are creating the alias.
-
withFunctionVersion
public CreateAliasRequest withFunctionVersion(String functionVersion)
Lambda function version for which you are creating the alias.
- Parameters:
functionVersion- Lambda function version for which you are creating the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
Description of the alias.
- Parameters:
description- Description of the alias.
-
getDescription
public String getDescription()
Description of the alias.
- Returns:
- Description of the alias.
-
withDescription
public CreateAliasRequest withDescription(String description)
Description of the alias.
- Parameters:
description- Description of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAliasRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-