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

com.pulumi.azurenative.operationalinsights.outputs.SchemaResponse 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.operationalinsights.outputs;

import com.pulumi.azurenative.operationalinsights.outputs.ColumnResponse;
import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class SchemaResponse {
    /**
     * @return Table category.
     * 
     */
    private List categories;
    /**
     * @return A list of table custom columns.
     * 
     */
    private @Nullable List columns;
    /**
     * @return Table description.
     * 
     */
    private @Nullable String description;
    /**
     * @return Table display name.
     * 
     */
    private @Nullable String displayName;
    /**
     * @return Table labels.
     * 
     */
    private List labels;
    /**
     * @return Table name.
     * 
     */
    private @Nullable String name;
    /**
     * @return List of solutions the table is affiliated with
     * 
     */
    private List solutions;
    /**
     * @return Table's creator.
     * 
     */
    private String source;
    /**
     * @return A list of table standard columns.
     * 
     */
    private List standardColumns;
    /**
     * @return The subtype describes what APIs can be used to interact with the table, and what features are available against it.
     * 
     */
    private String tableSubType;
    /**
     * @return Table's creator.
     * 
     */
    private String tableType;

    private SchemaResponse() {}
    /**
     * @return Table category.
     * 
     */
    public List categories() {
        return this.categories;
    }
    /**
     * @return A list of table custom columns.
     * 
     */
    public List columns() {
        return this.columns == null ? List.of() : this.columns;
    }
    /**
     * @return Table description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Table display name.
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return Table labels.
     * 
     */
    public List labels() {
        return this.labels;
    }
    /**
     * @return Table name.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return List of solutions the table is affiliated with
     * 
     */
    public List solutions() {
        return this.solutions;
    }
    /**
     * @return Table's creator.
     * 
     */
    public String source() {
        return this.source;
    }
    /**
     * @return A list of table standard columns.
     * 
     */
    public List standardColumns() {
        return this.standardColumns;
    }
    /**
     * @return The subtype describes what APIs can be used to interact with the table, and what features are available against it.
     * 
     */
    public String tableSubType() {
        return this.tableSubType;
    }
    /**
     * @return Table's creator.
     * 
     */
    public String tableType() {
        return this.tableType;
    }

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

    public static Builder builder(SchemaResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List categories;
        private @Nullable List columns;
        private @Nullable String description;
        private @Nullable String displayName;
        private List labels;
        private @Nullable String name;
        private List solutions;
        private String source;
        private List standardColumns;
        private String tableSubType;
        private String tableType;
        public Builder() {}
        public Builder(SchemaResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.categories = defaults.categories;
    	      this.columns = defaults.columns;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.labels = defaults.labels;
    	      this.name = defaults.name;
    	      this.solutions = defaults.solutions;
    	      this.source = defaults.source;
    	      this.standardColumns = defaults.standardColumns;
    	      this.tableSubType = defaults.tableSubType;
    	      this.tableType = defaults.tableType;
        }

        @CustomType.Setter
        public Builder categories(List categories) {
            if (categories == null) {
              throw new MissingRequiredPropertyException("SchemaResponse", "categories");
            }
            this.categories = categories;
            return this;
        }
        public Builder categories(String... categories) {
            return categories(List.of(categories));
        }
        @CustomType.Setter
        public Builder columns(@Nullable List columns) {

            this.columns = columns;
            return this;
        }
        public Builder columns(ColumnResponse... columns) {
            return columns(List.of(columns));
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable String displayName) {

            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder labels(List labels) {
            if (labels == null) {
              throw new MissingRequiredPropertyException("SchemaResponse", "labels");
            }
            this.labels = labels;
            return this;
        }
        public Builder labels(String... labels) {
            return labels(List.of(labels));
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder solutions(List solutions) {
            if (solutions == null) {
              throw new MissingRequiredPropertyException("SchemaResponse", "solutions");
            }
            this.solutions = solutions;
            return this;
        }
        public Builder solutions(String... solutions) {
            return solutions(List.of(solutions));
        }
        @CustomType.Setter
        public Builder source(String source) {
            if (source == null) {
              throw new MissingRequiredPropertyException("SchemaResponse", "source");
            }
            this.source = source;
            return this;
        }
        @CustomType.Setter
        public Builder standardColumns(List standardColumns) {
            if (standardColumns == null) {
              throw new MissingRequiredPropertyException("SchemaResponse", "standardColumns");
            }
            this.standardColumns = standardColumns;
            return this;
        }
        public Builder standardColumns(ColumnResponse... standardColumns) {
            return standardColumns(List.of(standardColumns));
        }
        @CustomType.Setter
        public Builder tableSubType(String tableSubType) {
            if (tableSubType == null) {
              throw new MissingRequiredPropertyException("SchemaResponse", "tableSubType");
            }
            this.tableSubType = tableSubType;
            return this;
        }
        @CustomType.Setter
        public Builder tableType(String tableType) {
            if (tableType == null) {
              throw new MissingRequiredPropertyException("SchemaResponse", "tableType");
            }
            this.tableType = tableType;
            return this;
        }
        public SchemaResponse build() {
            final var _resultValue = new SchemaResponse();
            _resultValue.categories = categories;
            _resultValue.columns = columns;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.labels = labels;
            _resultValue.name = name;
            _resultValue.solutions = solutions;
            _resultValue.source = source;
            _resultValue.standardColumns = standardColumns;
            _resultValue.tableSubType = tableSubType;
            _resultValue.tableType = tableType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy