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

com.pulumi.azurenative.machinelearning.outputs.TableSpecificationResponse 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.azurenative.machinelearning.outputs;

import com.pulumi.azurenative.machinelearning.outputs.ColumnSpecificationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TableSpecificationResponse {
    /**
     * @return Swagger schema description.
     * 
     */
    private @Nullable String description;
    /**
     * @return The format, if 'type' is not 'object'
     * 
     */
    private @Nullable String format;
    /**
     * @return The set of columns within the data table.
     * 
     */
    private @Nullable Map properties;
    /**
     * @return Swagger schema title.
     * 
     */
    private @Nullable String title;
    /**
     * @return The type of the entity described in swagger.
     * 
     */
    private String type;

    private TableSpecificationResponse() {}
    /**
     * @return Swagger schema description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The format, if 'type' is not 'object'
     * 
     */
    public Optional format() {
        return Optional.ofNullable(this.format);
    }
    /**
     * @return The set of columns within the data table.
     * 
     */
    public Map properties() {
        return this.properties == null ? Map.of() : this.properties;
    }
    /**
     * @return Swagger schema title.
     * 
     */
    public Optional title() {
        return Optional.ofNullable(this.title);
    }
    /**
     * @return The type of the entity described in swagger.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(TableSpecificationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private @Nullable String format;
        private @Nullable Map properties;
        private @Nullable String title;
        private String type;
        public Builder() {}
        public Builder(TableSpecificationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.format = defaults.format;
    	      this.properties = defaults.properties;
    	      this.title = defaults.title;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder description(@Nullable String description) {

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

            this.format = format;
            return this;
        }
        @CustomType.Setter
        public Builder properties(@Nullable Map properties) {

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

            this.title = title;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("TableSpecificationResponse", "type");
            }
            this.type = type;
            return this;
        }
        public TableSpecificationResponse build() {
            final var _resultValue = new TableSpecificationResponse();
            _resultValue.description = description;
            _resultValue.format = format;
            _resultValue.properties = properties;
            _resultValue.title = title;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy