All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.akamai.inputs.GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs Maven / Gradle / Ivy

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.akamai.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs extends com.pulumi.resources.ResourceArgs {

    public static final GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs Empty = new GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs();

    /**
     * This field is only intended for export compatibility purposes, and modifying it will not impact your use of the behavior.
     * 
     */
    @Import(name="advanced")
    private @Nullable Output advanced;

    /**
     * @return This field is only intended for export compatibility purposes, and modifying it will not impact your use of the behavior.
     * 
     */
    public Optional> advanced() {
        return Optional.ofNullable(this.advanced);
    }

    /**
     * When enabled, caches responses that include an `error` field at the top of the response body object.  Disable this if your GraphQL server yields temporary errors with success codes in the 2xx range.
     * 
     */
    @Import(name="cacheResponsesWithErrors")
    private @Nullable Output cacheResponsesWithErrors;

    /**
     * @return When enabled, caches responses that include an `error` field at the top of the response body object.  Disable this if your GraphQL server yields temporary errors with success codes in the 2xx range.
     * 
     */
    public Optional> cacheResponsesWithErrors() {
        return Optional.ofNullable(this.cacheResponsesWithErrors);
    }

    /**
     * Enables GraphQL caching.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Enables GraphQL caching.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * Indicates that your Akamai representative has locked this behavior or criteria so that you can't modify it. This option is for internal usage only.
     * 
     */
    @Import(name="locked")
    private @Nullable Output locked;

    /**
     * @return Indicates that your Akamai representative has locked this behavior or criteria so that you can't modify it. This option is for internal usage only.
     * 
     */
    public Optional> locked() {
        return Optional.ofNullable(this.locked);
    }

    /**
     * The name of the JSON body parameter that identifies GraphQL POST requests.
     * 
     */
    @Import(name="operationsJsonBodyParameterName")
    private @Nullable Output operationsJsonBodyParameterName;

    /**
     * @return The name of the JSON body parameter that identifies GraphQL POST requests.
     * 
     */
    public Optional> operationsJsonBodyParameterName() {
        return Optional.ofNullable(this.operationsJsonBodyParameterName);
    }

    /**
     * Specifies the name of a query parameter that identifies requests as GraphQL queries.
     * 
     */
    @Import(name="operationsUrlQueryParameterName")
    private @Nullable Output operationsUrlQueryParameterName;

    /**
     * @return Specifies the name of a query parameter that identifies requests as GraphQL queries.
     * 
     */
    public Optional> operationsUrlQueryParameterName() {
        return Optional.ofNullable(this.operationsUrlQueryParameterName);
    }

    /**
     * Specify what happens if GraphQL query processing fails on POST requests.
     * 
     */
    @Import(name="postRequestProcessingErrorHandling")
    private @Nullable Output postRequestProcessingErrorHandling;

    /**
     * @return Specify what happens if GraphQL query processing fails on POST requests.
     * 
     */
    public Optional> postRequestProcessingErrorHandling() {
        return Optional.ofNullable(this.postRequestProcessingErrorHandling);
    }

    /**
     * This option is for internal usage only.
     * 
     */
    @Import(name="templateUuid")
    private @Nullable Output templateUuid;

    /**
     * @return This option is for internal usage only.
     * 
     */
    public Optional> templateUuid() {
        return Optional.ofNullable(this.templateUuid);
    }

    /**
     * A uuid member indicates that at least one of its component behaviors or criteria is advanced and read-only. You need to preserve this uuid as well when modifying the rule tree. This option is for internal usage only.
     * 
     */
    @Import(name="uuid")
    private @Nullable Output uuid;

    /**
     * @return A uuid member indicates that at least one of its component behaviors or criteria is advanced and read-only. You need to preserve this uuid as well when modifying the rule tree. This option is for internal usage only.
     * 
     */
    public Optional> uuid() {
        return Optional.ofNullable(this.uuid);
    }

    private GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs() {}

    private GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs(GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs $) {
        this.advanced = $.advanced;
        this.cacheResponsesWithErrors = $.cacheResponsesWithErrors;
        this.enabled = $.enabled;
        this.locked = $.locked;
        this.operationsJsonBodyParameterName = $.operationsJsonBodyParameterName;
        this.operationsUrlQueryParameterName = $.operationsUrlQueryParameterName;
        this.postRequestProcessingErrorHandling = $.postRequestProcessingErrorHandling;
        this.templateUuid = $.templateUuid;
        this.uuid = $.uuid;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs $;

        public Builder() {
            $ = new GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs();
        }

        public Builder(GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs defaults) {
            $ = new GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param advanced This field is only intended for export compatibility purposes, and modifying it will not impact your use of the behavior.
         * 
         * @return builder
         * 
         */
        public Builder advanced(@Nullable Output advanced) {
            $.advanced = advanced;
            return this;
        }

        /**
         * @param advanced This field is only intended for export compatibility purposes, and modifying it will not impact your use of the behavior.
         * 
         * @return builder
         * 
         */
        public Builder advanced(String advanced) {
            return advanced(Output.of(advanced));
        }

        /**
         * @param cacheResponsesWithErrors When enabled, caches responses that include an `error` field at the top of the response body object.  Disable this if your GraphQL server yields temporary errors with success codes in the 2xx range.
         * 
         * @return builder
         * 
         */
        public Builder cacheResponsesWithErrors(@Nullable Output cacheResponsesWithErrors) {
            $.cacheResponsesWithErrors = cacheResponsesWithErrors;
            return this;
        }

        /**
         * @param cacheResponsesWithErrors When enabled, caches responses that include an `error` field at the top of the response body object.  Disable this if your GraphQL server yields temporary errors with success codes in the 2xx range.
         * 
         * @return builder
         * 
         */
        public Builder cacheResponsesWithErrors(Boolean cacheResponsesWithErrors) {
            return cacheResponsesWithErrors(Output.of(cacheResponsesWithErrors));
        }

        /**
         * @param enabled Enables GraphQL caching.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Enables GraphQL caching.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param locked Indicates that your Akamai representative has locked this behavior or criteria so that you can't modify it. This option is for internal usage only.
         * 
         * @return builder
         * 
         */
        public Builder locked(@Nullable Output locked) {
            $.locked = locked;
            return this;
        }

        /**
         * @param locked Indicates that your Akamai representative has locked this behavior or criteria so that you can't modify it. This option is for internal usage only.
         * 
         * @return builder
         * 
         */
        public Builder locked(Boolean locked) {
            return locked(Output.of(locked));
        }

        /**
         * @param operationsJsonBodyParameterName The name of the JSON body parameter that identifies GraphQL POST requests.
         * 
         * @return builder
         * 
         */
        public Builder operationsJsonBodyParameterName(@Nullable Output operationsJsonBodyParameterName) {
            $.operationsJsonBodyParameterName = operationsJsonBodyParameterName;
            return this;
        }

        /**
         * @param operationsJsonBodyParameterName The name of the JSON body parameter that identifies GraphQL POST requests.
         * 
         * @return builder
         * 
         */
        public Builder operationsJsonBodyParameterName(String operationsJsonBodyParameterName) {
            return operationsJsonBodyParameterName(Output.of(operationsJsonBodyParameterName));
        }

        /**
         * @param operationsUrlQueryParameterName Specifies the name of a query parameter that identifies requests as GraphQL queries.
         * 
         * @return builder
         * 
         */
        public Builder operationsUrlQueryParameterName(@Nullable Output operationsUrlQueryParameterName) {
            $.operationsUrlQueryParameterName = operationsUrlQueryParameterName;
            return this;
        }

        /**
         * @param operationsUrlQueryParameterName Specifies the name of a query parameter that identifies requests as GraphQL queries.
         * 
         * @return builder
         * 
         */
        public Builder operationsUrlQueryParameterName(String operationsUrlQueryParameterName) {
            return operationsUrlQueryParameterName(Output.of(operationsUrlQueryParameterName));
        }

        /**
         * @param postRequestProcessingErrorHandling Specify what happens if GraphQL query processing fails on POST requests.
         * 
         * @return builder
         * 
         */
        public Builder postRequestProcessingErrorHandling(@Nullable Output postRequestProcessingErrorHandling) {
            $.postRequestProcessingErrorHandling = postRequestProcessingErrorHandling;
            return this;
        }

        /**
         * @param postRequestProcessingErrorHandling Specify what happens if GraphQL query processing fails on POST requests.
         * 
         * @return builder
         * 
         */
        public Builder postRequestProcessingErrorHandling(String postRequestProcessingErrorHandling) {
            return postRequestProcessingErrorHandling(Output.of(postRequestProcessingErrorHandling));
        }

        /**
         * @param templateUuid This option is for internal usage only.
         * 
         * @return builder
         * 
         */
        public Builder templateUuid(@Nullable Output templateUuid) {
            $.templateUuid = templateUuid;
            return this;
        }

        /**
         * @param templateUuid This option is for internal usage only.
         * 
         * @return builder
         * 
         */
        public Builder templateUuid(String templateUuid) {
            return templateUuid(Output.of(templateUuid));
        }

        /**
         * @param uuid A uuid member indicates that at least one of its component behaviors or criteria is advanced and read-only. You need to preserve this uuid as well when modifying the rule tree. This option is for internal usage only.
         * 
         * @return builder
         * 
         */
        public Builder uuid(@Nullable Output uuid) {
            $.uuid = uuid;
            return this;
        }

        /**
         * @param uuid A uuid member indicates that at least one of its component behaviors or criteria is advanced and read-only. You need to preserve this uuid as well when modifying the rule tree. This option is for internal usage only.
         * 
         * @return builder
         * 
         */
        public Builder uuid(String uuid) {
            return uuid(Output.of(uuid));
        }

        public GetPropertyRulesBuilderRulesV20230530BehaviorGraphqlCachingArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy