JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lambda.model

Class UpdateAliasRequest

    • Constructor Detail

      • UpdateAliasRequest

        public UpdateAliasRequest()
    • Method Detail

      • setFunctionName

        public void setFunctionName(String functionName)

        The name or ARN of the Lambda function.

        Name formats

        • Function name - MyFunction.

        • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Partial ARN - 123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

        Parameters:
        functionName - The name or ARN of the Lambda function.

        Name formats

        • Function name - MyFunction.

        • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Partial ARN - 123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

      • getFunctionName

        public String getFunctionName()

        The name or ARN of the Lambda function.

        Name formats

        • Function name - MyFunction.

        • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Partial ARN - 123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

        Returns:
        The name or ARN of the Lambda function.

        Name formats

        • Function name - MyFunction.

        • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Partial ARN - 123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

      • withFunctionName

        public UpdateAliasRequest withFunctionName(String functionName)

        The name or ARN of the Lambda function.

        Name formats

        • Function name - MyFunction.

        • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Partial ARN - 123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

        Parameters:
        functionName - The name or ARN of the Lambda function.

        Name formats

        • Function name - MyFunction.

        • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

        • Partial ARN - 123456789012:function:MyFunction.

        The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName(String name)

        The name of the alias.

        Parameters:
        name - The name of the alias.
      • getName

        public String getName()

        The name of the alias.

        Returns:
        The name of the alias.
      • withName

        public UpdateAliasRequest withName(String name)

        The name of the alias.

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

        public void setFunctionVersion(String functionVersion)

        The function version that the alias invokes.

        Parameters:
        functionVersion - The function version that the alias invokes.
      • getFunctionVersion

        public String getFunctionVersion()

        The function version that the alias invokes.

        Returns:
        The function version that the alias invokes.
      • withFunctionVersion

        public UpdateAliasRequest withFunctionVersion(String functionVersion)

        The function version that the alias invokes.

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

        public void setDescription(String description)

        A description of the alias.

        Parameters:
        description - A description of the alias.
      • getDescription

        public String getDescription()

        A description of the alias.

        Returns:
        A description of the alias.
      • withDescription

        public UpdateAliasRequest withDescription(String description)

        A description of the alias.

        Parameters:
        description - A description of the alias.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRevisionId

        public void setRevisionId(String revisionId)

        Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.

        Parameters:
        revisionId - Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
      • getRevisionId

        public String getRevisionId()

        Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.

        Returns:
        Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
      • withRevisionId

        public UpdateAliasRequest withRevisionId(String revisionId)

        Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.

        Parameters:
        revisionId - Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
        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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /