JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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 FunctionAssociation

    • Constructor Detail

      • FunctionAssociation

        public FunctionAssociation()
    • Method Detail

      • setFunctionARN

        public void setFunctionARN(String functionARN)

        The Amazon Resource Name (ARN) of the function.

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

        public String getFunctionARN()

        The Amazon Resource Name (ARN) of the function.

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

        public FunctionAssociation withFunctionARN(String functionARN)

        The Amazon Resource Name (ARN) of the function.

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

        public void setEventType(String eventType)

        The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

        Parameters:
        eventType - The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.
        See Also:
        EventType
      • getEventType

        public String getEventType()

        The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

        Returns:
        The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.
        See Also:
        EventType
      • withEventType

        public FunctionAssociation withEventType(String eventType)

        The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

        Parameters:
        eventType - The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventType
      • withEventType

        public FunctionAssociation withEventType(EventType eventType)

        The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.

        Parameters:
        eventType - The event type of the function, either viewer-request or viewer-response. You cannot use origin-facing event types (origin-request and origin-response) with a CloudFront function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventType
      • 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 によって変換されたページ (->オリジナル) /