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 CreateAliasRequest
clone()
Creates a shallow clone of this request.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.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.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.-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAliasRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-