Class CreateAliasResult

java.lang.Object
com.amazonaws.services.lambda.model.CreateAliasResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateAliasResult extends Object implements Serializable, Cloneable

Provides configuration information about a Lambda function version alias.

See Also:
  • Constructor Details

    • CreateAliasResult

      public CreateAliasResult()
  • Method Details

    • setAliasArn

      public void setAliasArn(String aliasArn)

      Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.

      Parameters:
      aliasArn - Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA .
    • getAliasArn

      public String getAliasArn()

      Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.

      Returns:
      Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA .
    • withAliasArn

      public CreateAliasResult withAliasArn(String aliasArn)

      Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.

      Parameters:
      aliasArn - Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      Alias name.

      Parameters:
      name - Alias name.
    • getName

      public String getName()

      Alias name.

      Returns:
      Alias name.
    • withName

      public CreateAliasResult withName(String name)

      Alias name.

      Parameters:
      name - Alias name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setFunctionVersion

      public void setFunctionVersion(String functionVersion)

      Function version to which the alias points.

      Parameters:
      functionVersion - Function version to which the alias points.
    • getFunctionVersion

      public String getFunctionVersion()

      Function version to which the alias points.

      Returns:
      Function version to which the alias points.
    • withFunctionVersion

      public CreateAliasResult withFunctionVersion(String functionVersion)

      Function version to which the alias points.

      Parameters:
      functionVersion - Function version to which the alias points.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      Alias description.

      Parameters:
      description - Alias description.
    • getDescription

      public String getDescription()

      Alias description.

      Returns:
      Alias description.
    • withDescription

      public CreateAliasResult withDescription(String description)

      Alias description.

      Parameters:
      description - Alias description.
      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 CreateAliasResult clone()
      Overrides:
      clone in class Object