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

com.pulumi.ise.deviceadmin.inputs.ConditionState 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.ise.deviceadmin.inputs.ConditionChildrenArgs;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ConditionState Empty = new ConditionState();

    /**
     * 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);
    }

    /**
     * List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
     * 
     */
    @Import(name="childrens")
    private @Nullable Output> childrens;

    /**
     * @return List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
     * 
     */
    public Optional>> childrens() {
        return Optional.ofNullable(this.childrens);
    }

    /**
     * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
     * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
     * `LibraryConditionAttributes`, `LibraryConditionOrBlock`
     * 
     */
    @Import(name="conditionType")
    private @Nullable Output conditionType;

    /**
     * @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
     * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
     * `LibraryConditionAttributes`, `LibraryConditionOrBlock`
     * 
     */
    public Optional> conditionType() {
        return Optional.ofNullable(this.conditionType);
    }

    /**
     * Condition description
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Condition description
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * 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);
    }

    /**
     * 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);
    }

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

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

    /**
     * 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 ConditionState() {}

    private ConditionState(ConditionState $) {
        this.attributeName = $.attributeName;
        this.attributeValue = $.attributeValue;
        this.childrens = $.childrens;
        this.conditionType = $.conditionType;
        this.description = $.description;
        this.dictionaryName = $.dictionaryName;
        this.dictionaryValue = $.dictionaryValue;
        this.isNegate = $.isNegate;
        this.name = $.name;
        this.operator = $.operator;
    }

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

    public static final class Builder {
        private ConditionState $;

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

        public Builder(ConditionState defaults) {
            $ = new ConditionState(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 childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
         * 
         * @return builder
         * 
         */
        public Builder childrens(@Nullable Output> childrens) {
            $.childrens = childrens;
            return this;
        }

        /**
         * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
         * 
         * @return builder
         * 
         */
        public Builder childrens(List childrens) {
            return childrens(Output.of(childrens));
        }

        /**
         * @param childrens List of child conditions. `condition_type` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`.
         * 
         * @return builder
         * 
         */
        public Builder childrens(ConditionChildrenArgs... childrens) {
            return childrens(List.of(childrens));
        }

        /**
         * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
         * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
         * `LibraryConditionAttributes`, `LibraryConditionOrBlock`
         * 
         * @return builder
         * 
         */
        public Builder conditionType(@Nullable Output conditionType) {
            $.conditionType = conditionType;
            return this;
        }

        /**
         * @param conditionType Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
         * additional conditions are present under the children attribute. - Choices: `LibraryConditionAndBlock`,
         * `LibraryConditionAttributes`, `LibraryConditionOrBlock`
         * 
         * @return builder
         * 
         */
        public Builder conditionType(String conditionType) {
            return conditionType(Output.of(conditionType));
        }

        /**
         * @param description Condition description
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Condition description
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @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 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 name Condition name
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

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

        /**
         * @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 ConditionState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy