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 UpdateCachePolicyRequest

    • Constructor Detail

      • UpdateCachePolicyRequest

        public UpdateCachePolicyRequest()
    • Method Detail

      • setCachePolicyConfig

        public void setCachePolicyConfig(CachePolicyConfig cachePolicyConfig)

        A cache policy configuration.

        Parameters:
        cachePolicyConfig - A cache policy configuration.
      • getCachePolicyConfig

        public CachePolicyConfig getCachePolicyConfig()

        A cache policy configuration.

        Returns:
        A cache policy configuration.
      • withCachePolicyConfig

        public UpdateCachePolicyRequest withCachePolicyConfig(CachePolicyConfig cachePolicyConfig)

        A cache policy configuration.

        Parameters:
        cachePolicyConfig - A cache 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 cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId field in the response to GetDistributionConfig.

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

        public String getId()

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

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

        public UpdateCachePolicyRequest withId(String id)

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

        Parameters:
        id - The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId 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 cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetCachePolicyConfig.

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

        public String getIfMatch()

        The version of the cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetCachePolicyConfig.

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

        public UpdateCachePolicyRequest withIfMatch(String ifMatch)

        The version of the cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetCachePolicyConfig.

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