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

com.pulumi.ise.deviceadmin.inputs.AuthorizationRuleChildrenChildrenArgs Maven / Gradle / Ivy

// *** 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.ise.deviceadmin.inputs;

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


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

    public static final AuthorizationRuleChildrenChildrenArgs Empty = new AuthorizationRuleChildrenChildrenArgs();

    /**
     * Dictionary attribute name
     * 
     */
    @Import(name="attributeName")
    private @Nullable Output attributeName;

    /**
     * @return Dictionary attribute name
     * 
     */
    public Optional> attributeName() {
        return Optional.ofNullable(this.attributeName);
    }

    /**
     * Attribute value for condition. Value type is specified in dictionary object.
     * 
     */
    @Import(name="attributeValue")
    private @Nullable Output attributeValue;

    /**
     * @return Attribute value for condition. Value type is specified in dictionary object.
     * 
     */
    public Optional> attributeValue() {
        return Optional.ofNullable(this.attributeValue);
    }

    /**
     * Condition type.
     *   - Choices: `ConditionAttributes`, `ConditionReference`
     * 
     */
    @Import(name="conditionType", required=true)
    private Output conditionType;

    /**
     * @return Condition type.
     *   - Choices: `ConditionAttributes`, `ConditionReference`
     * 
     */
    public Output conditionType() {
        return this.conditionType;
    }

    /**
     * Dictionary name
     * 
     */
    @Import(name="dictionaryName")
    private @Nullable Output dictionaryName;

    /**
     * @return Dictionary name
     * 
     */
    public Optional> dictionaryName() {
        return Optional.ofNullable(this.dictionaryName);
    }

    /**
     * Dictionary value
     * 
     */
    @Import(name="dictionaryValue")
    private @Nullable Output dictionaryValue;

    /**
     * @return Dictionary value
     * 
     */
    public Optional> dictionaryValue() {
        return Optional.ofNullable(this.dictionaryValue);
    }

    /**
     * UUID for condition
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return UUID for condition
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Indicates whereas this condition is in negate mode
     * 
     */
    @Import(name="isNegate")
    private @Nullable Output isNegate;

    /**
     * @return Indicates whereas this condition is in negate mode
     * 
     */
    public Optional> isNegate() {
        return Optional.ofNullable(this.isNegate);
    }

    /**
     * Equality operator
     *   - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
     * 
     */
    @Import(name="operator")
    private @Nullable Output operator;

    /**
     * @return Equality operator
     *   - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
     * 
     */
    public Optional> operator() {
        return Optional.ofNullable(this.operator);
    }

    private AuthorizationRuleChildrenChildrenArgs() {}

    private AuthorizationRuleChildrenChildrenArgs(AuthorizationRuleChildrenChildrenArgs $) {
        this.attributeName = $.attributeName;
        this.attributeValue = $.attributeValue;
        this.conditionType = $.conditionType;
        this.dictionaryName = $.dictionaryName;
        this.dictionaryValue = $.dictionaryValue;
        this.id = $.id;
        this.isNegate = $.isNegate;
        this.operator = $.operator;
    }

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

    public static final class Builder {
        private AuthorizationRuleChildrenChildrenArgs $;

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

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

        /**
         * @param attributeName Dictionary attribute name
         * 
         * @return builder
         * 
         */
        public Builder attributeName(@Nullable Output attributeName) {
            $.attributeName = attributeName;
            return this;
        }

        /**
         * @param attributeName Dictionary attribute name
         * 
         * @return builder
         * 
         */
        public Builder attributeName(String attributeName) {
            return attributeName(Output.of(attributeName));
        }

        /**
         * @param attributeValue Attribute value for condition. Value type is specified in dictionary object.
         * 
         * @return builder
         * 
         */
        public Builder attributeValue(@Nullable Output attributeValue) {
            $.attributeValue = attributeValue;
            return this;
        }

        /**
         * @param attributeValue Attribute value for condition. Value type is specified in dictionary object.
         * 
         * @return builder
         * 
         */
        public Builder attributeValue(String attributeValue) {
            return attributeValue(Output.of(attributeValue));
        }

        /**
         * @param conditionType Condition type.
         *   - Choices: `ConditionAttributes`, `ConditionReference`
         * 
         * @return builder
         * 
         */
        public Builder conditionType(Output conditionType) {
            $.conditionType = conditionType;
            return this;
        }

        /**
         * @param conditionType Condition type.
         *   - Choices: `ConditionAttributes`, `ConditionReference`
         * 
         * @return builder
         * 
         */
        public Builder conditionType(String conditionType) {
            return conditionType(Output.of(conditionType));
        }

        /**
         * @param dictionaryName Dictionary name
         * 
         * @return builder
         * 
         */
        public Builder dictionaryName(@Nullable Output dictionaryName) {
            $.dictionaryName = dictionaryName;
            return this;
        }

        /**
         * @param dictionaryName Dictionary name
         * 
         * @return builder
         * 
         */
        public Builder dictionaryName(String dictionaryName) {
            return dictionaryName(Output.of(dictionaryName));
        }

        /**
         * @param dictionaryValue Dictionary value
         * 
         * @return builder
         * 
         */
        public Builder dictionaryValue(@Nullable Output dictionaryValue) {
            $.dictionaryValue = dictionaryValue;
            return this;
        }

        /**
         * @param dictionaryValue Dictionary value
         * 
         * @return builder
         * 
         */
        public Builder dictionaryValue(String dictionaryValue) {
            return dictionaryValue(Output.of(dictionaryValue));
        }

        /**
         * @param id UUID for condition
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id UUID for condition
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param isNegate Indicates whereas this condition is in negate mode
         * 
         * @return builder
         * 
         */
        public Builder isNegate(@Nullable Output isNegate) {
            $.isNegate = isNegate;
            return this;
        }

        /**
         * @param isNegate Indicates whereas this condition is in negate mode
         * 
         * @return builder
         * 
         */
        public Builder isNegate(Boolean isNegate) {
            return isNegate(Output.of(isNegate));
        }

        /**
         * @param operator Equality operator
         *   - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
         * 
         * @return builder
         * 
         */
        public Builder operator(@Nullable Output operator) {
            $.operator = operator;
            return this;
        }

        /**
         * @param operator Equality operator
         *   - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
         * 
         * @return builder
         * 
         */
        public Builder operator(String operator) {
            return operator(Output.of(operator));
        }

        public AuthorizationRuleChildrenChildrenArgs build() {
            if ($.conditionType == null) {
                throw new MissingRequiredPropertyException("AuthorizationRuleChildrenChildrenArgs", "conditionType");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy