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

com.pulumi.azurenative.authorization.outputs.SelectorResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.authorization.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SelectorResponse {
    /**
     * @return The list of values to filter in.
     * 
     */
    private @Nullable List in;
    /**
     * @return The selector kind.
     * 
     */
    private @Nullable String kind;
    /**
     * @return The list of values to filter out.
     * 
     */
    private @Nullable List notIn;

    private SelectorResponse() {}
    /**
     * @return The list of values to filter in.
     * 
     */
    public List in() {
        return this.in == null ? List.of() : this.in;
    }
    /**
     * @return The selector kind.
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }
    /**
     * @return The list of values to filter out.
     * 
     */
    public List notIn() {
        return this.notIn == null ? List.of() : this.notIn;
    }

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

    public static Builder builder(SelectorResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List in;
        private @Nullable String kind;
        private @Nullable List notIn;
        public Builder() {}
        public Builder(SelectorResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.in = defaults.in;
    	      this.kind = defaults.kind;
    	      this.notIn = defaults.notIn;
        }

        @CustomType.Setter
        public Builder in(@Nullable List in) {

            this.in = in;
            return this;
        }
        public Builder in(String... in) {
            return in(List.of(in));
        }
        @CustomType.Setter
        public Builder kind(@Nullable String kind) {

            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder notIn(@Nullable List notIn) {

            this.notIn = notIn;
            return this;
        }
        public Builder notIn(String... notIn) {
            return notIn(List.of(notIn));
        }
        public SelectorResponse build() {
            final var _resultValue = new SelectorResponse();
            _resultValue.in = in;
            _resultValue.kind = kind;
            _resultValue.notIn = notIn;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy