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

com.pulumi.azure.management.inputs.GroupPolicyAssignmentResourceSelectorSelectorArgs 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.azure.management.inputs;

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


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

    public static final GroupPolicyAssignmentResourceSelectorSelectorArgs Empty = new GroupPolicyAssignmentResourceSelectorSelectorArgs();

    @Import(name="ins")
    private @Nullable Output> ins;

    public Optional>> ins() {
        return Optional.ofNullable(this.ins);
    }

    /**
     * Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
     * 
     */
    @Import(name="kind", required=true)
    private Output kind;

    /**
     * @return Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
     * 
     */
    public Output kind() {
        return this.kind;
    }

    @Import(name="notIns")
    private @Nullable Output> notIns;

    public Optional>> notIns() {
        return Optional.ofNullable(this.notIns);
    }

    private GroupPolicyAssignmentResourceSelectorSelectorArgs() {}

    private GroupPolicyAssignmentResourceSelectorSelectorArgs(GroupPolicyAssignmentResourceSelectorSelectorArgs $) {
        this.ins = $.ins;
        this.kind = $.kind;
        this.notIns = $.notIns;
    }

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

    public static final class Builder {
        private GroupPolicyAssignmentResourceSelectorSelectorArgs $;

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

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

        public Builder ins(@Nullable Output> ins) {
            $.ins = ins;
            return this;
        }

        public Builder ins(List ins) {
            return ins(Output.of(ins));
        }

        public Builder ins(String... ins) {
            return ins(List.of(ins));
        }

        /**
         * @param kind Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
         * 
         * @return builder
         * 
         */
        public Builder kind(Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind Specifies which characteristic will narrow down the set of evaluated resources. Possible values are `resourceLocation`, `resourceType` and `resourceWithoutLocation`.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        public Builder notIns(@Nullable Output> notIns) {
            $.notIns = notIns;
            return this;
        }

        public Builder notIns(List notIns) {
            return notIns(Output.of(notIns));
        }

        public Builder notIns(String... notIns) {
            return notIns(List.of(notIns));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy