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:
  • Constructor Details

    • CreateAliasRequest

      public CreateAliasRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: