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

com.pulumi.azurenative.customerinsights.outputs.ResourceSetDescriptionResponse 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.customerinsights.outputs;

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

@CustomType
public final class ResourceSetDescriptionResponse {
    /**
     * @return The elements included in the set.
     * 
     */
    private @Nullable List elements;
    /**
     * @return The elements that are not included in the set, in case elements contains '*' indicating 'all'.
     * 
     */
    private @Nullable List exceptions;

    private ResourceSetDescriptionResponse() {}
    /**
     * @return The elements included in the set.
     * 
     */
    public List elements() {
        return this.elements == null ? List.of() : this.elements;
    }
    /**
     * @return The elements that are not included in the set, in case elements contains '*' indicating 'all'.
     * 
     */
    public List exceptions() {
        return this.exceptions == null ? List.of() : this.exceptions;
    }

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

    public static Builder builder(ResourceSetDescriptionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List elements;
        private @Nullable List exceptions;
        public Builder() {}
        public Builder(ResourceSetDescriptionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.elements = defaults.elements;
    	      this.exceptions = defaults.exceptions;
        }

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

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

            this.exceptions = exceptions;
            return this;
        }
        public Builder exceptions(String... exceptions) {
            return exceptions(List.of(exceptions));
        }
        public ResourceSetDescriptionResponse build() {
            final var _resultValue = new ResourceSetDescriptionResponse();
            _resultValue.elements = elements;
            _resultValue.exceptions = exceptions;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy