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

com.pulumi.ise.networkaccess.inputs.AuthorizationRuleChildrenArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.

There is a newer version: 0.2.0-alpha.1731736158
Show 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.ise.networkaccess.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.ise.networkaccess.inputs.AuthorizationRuleChildrenChildrenArgs;
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 AuthorizationRuleChildrenArgs extends com.pulumi.resources.ResourceArgs {

    public static final AuthorizationRuleChildrenArgs Empty = new AuthorizationRuleChildrenArgs();

    /**
     * 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 `ConditionAndBlock` or `ConditionOrBlock`.
     * 
     */
    @Import(name="childrens")
    private @Nullable Output> childrens;

    /**
     * @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
     * 
     */
    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: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
     * 
     */
    @Import(name="conditionType", required=true)
    private 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: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `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 AuthorizationRuleChildrenArgs() {}

    private AuthorizationRuleChildrenArgs(AuthorizationRuleChildrenArgs $) {
        this.attributeName = $.attributeName;
        this.attributeValue = $.attributeValue;
        this.childrens = $.childrens;
        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(AuthorizationRuleChildrenArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AuthorizationRuleChildrenArgs $;

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

        public Builder(AuthorizationRuleChildrenArgs defaults) {
            $ = new AuthorizationRuleChildrenArgs(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 `ConditionAndBlock` or `ConditionOrBlock`.
         * 
         * @return builder
         * 
         */
        public Builder childrens(@Nullable Output> childrens) {
            $.childrens = childrens;
            return this;
        }

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

        /**
         * @param childrens List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
         * 
         * @return builder
         * 
         */
        public Builder childrens(AuthorizationRuleChildrenChildrenArgs... 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: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
         * 
         * @return builder
         * 
         */
        public Builder conditionType(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: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `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 AuthorizationRuleChildrenArgs build() {
            if ($.conditionType == null) {
                throw new MissingRequiredPropertyException("AuthorizationRuleChildrenArgs", "conditionType");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy