// *** 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.gcp.accesscontextmanager.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelsAccessLevelCustomExprArgs;
import java.util.Objects;


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

    public static final AccessLevelsAccessLevelCustomArgs Empty = new AccessLevelsAccessLevelCustomArgs();

    /**
     * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
     * This page details the objects and attributes that are used to the build the CEL expressions for
     * custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
     * Structure is documented below.
     * 
     */
    @Import(name="expr", required=true)
    private Output<AccessLevelsAccessLevelCustomExprArgs> expr;

    /**
     * @return Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
     * This page details the objects and attributes that are used to the build the CEL expressions for
     * custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
     * Structure is documented below.
     * 
     */
    public Output<AccessLevelsAccessLevelCustomExprArgs> expr() {
        return this.expr;
    }

    private AccessLevelsAccessLevelCustomArgs() {}

    private AccessLevelsAccessLevelCustomArgs(AccessLevelsAccessLevelCustomArgs $) {
        this.expr = $.expr;
    }

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

    public static final class Builder {
        private AccessLevelsAccessLevelCustomArgs $;

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

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

        /**
         * @param expr Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
         * This page details the objects and attributes that are used to the build the CEL expressions for
         * custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder expr(Output<AccessLevelsAccessLevelCustomExprArgs> expr) {
            $.expr = expr;
            return this;
        }

        /**
         * @param expr Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
         * This page details the objects and attributes that are used to the build the CEL expressions for
         * custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder expr(AccessLevelsAccessLevelCustomExprArgs expr) {
            return expr(Output.of(expr));
        }

        public AccessLevelsAccessLevelCustomArgs build() {
            $.expr = Objects.requireNonNull($.expr, "expected parameter 'expr' to be non-null");
            return $;
        }
    }

}
