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.cloudfront.model

Class FunctionMetadata

    • Constructor Detail

      • FunctionMetadata

        public FunctionMetadata()
    • Method Detail

      • setFunctionARN

        public void setFunctionARN(String functionARN)

        The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

        Parameters:
        functionARN - The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
      • getFunctionARN

        public String getFunctionARN()

        The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

        Returns:
        The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
      • withFunctionARN

        public FunctionMetadata withFunctionARN(String functionARN)

        The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.

        Parameters:
        functionARN - The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStage

        public void setStage(String stage)

        The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Parameters:
        stage - The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        See Also:
        FunctionStage
      • getStage

        public String getStage()

        The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Returns:
        The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        See Also:
        FunctionStage
      • withStage

        public FunctionMetadata withStage(String stage)

        The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Parameters:
        stage - The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FunctionStage
      • withStage

        public FunctionMetadata withStage(FunctionStage stage)

        The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Parameters:
        stage - The stage that the function is in, either DEVELOPMENT or LIVE.

        When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.

        When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FunctionStage
      • setCreatedTime

        public void setCreatedTime(Date createdTime)

        The date and time when the function was created.

        Parameters:
        createdTime - The date and time when the function was created.
      • getCreatedTime

        public Date getCreatedTime()

        The date and time when the function was created.

        Returns:
        The date and time when the function was created.
      • withCreatedTime

        public FunctionMetadata withCreatedTime(Date createdTime)

        The date and time when the function was created.

        Parameters:
        createdTime - The date and time when the function was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastModifiedTime

        public void setLastModifiedTime(Date lastModifiedTime)

        The date and time when the function was most recently updated.

        Parameters:
        lastModifiedTime - The date and time when the function was most recently updated.
      • getLastModifiedTime

        public Date getLastModifiedTime()

        The date and time when the function was most recently updated.

        Returns:
        The date and time when the function was most recently updated.
      • withLastModifiedTime

        public FunctionMetadata withLastModifiedTime(Date lastModifiedTime)

        The date and time when the function was most recently updated.

        Parameters:
        lastModifiedTime - The date and time when the function was most recently updated.
        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 によって変換されたページ (->オリジナル) /