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 UpdateOriginRequestPolicyRequest

    • Constructor Detail

      • UpdateOriginRequestPolicyRequest

        public UpdateOriginRequestPolicyRequest()
    • Method Detail

      • setOriginRequestPolicyConfig

        public void setOriginRequestPolicyConfig(OriginRequestPolicyConfig originRequestPolicyConfig)

        An origin request policy configuration.

        Parameters:
        originRequestPolicyConfig - An origin request policy configuration.
      • getOriginRequestPolicyConfig

        public OriginRequestPolicyConfig getOriginRequestPolicyConfig()

        An origin request policy configuration.

        Returns:
        An origin request policy configuration.
      • withOriginRequestPolicyConfig

        public UpdateOriginRequestPolicyRequest withOriginRequestPolicyConfig(OriginRequestPolicyConfig originRequestPolicyConfig)

        An origin request policy configuration.

        Parameters:
        originRequestPolicyConfig - An origin request policy configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setId

        public void setId(String id)

        The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.

        Parameters:
        id - The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.
      • getId

        public String getId()

        The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.

        Returns:
        The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.
      • withId

        public UpdateOriginRequestPolicyRequest withId(String id)

        The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.

        Parameters:
        id - The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIfMatch

        public void setIfMatch(String ifMatch)

        The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.

        Parameters:
        ifMatch - The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.
      • getIfMatch

        public String getIfMatch()

        The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.

        Returns:
        The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.
      • withIfMatch

        public UpdateOriginRequestPolicyRequest withIfMatch(String ifMatch)

        The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.

        Parameters:
        ifMatch - The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.
        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 によって変換されたページ (->オリジナル) /