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

com.pulumi.azurenative.securityinsights.outputs.InsightsTableResultResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.securityinsights.outputs;

import com.pulumi.azurenative.securityinsights.outputs.InsightsTableResultResponseColumns;
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 InsightsTableResultResponse {
    /**
     * @return Columns Metadata of the table
     * 
     */
    private @Nullable List columns;
    /**
     * @return Rows data of the table
     * 
     */
    private @Nullable List> rows;

    private InsightsTableResultResponse() {}
    /**
     * @return Columns Metadata of the table
     * 
     */
    public List columns() {
        return this.columns == null ? List.of() : this.columns;
    }
    /**
     * @return Rows data of the table
     * 
     */
    public List> rows() {
        return this.rows == null ? List.of() : this.rows;
    }

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

    public static Builder builder(InsightsTableResultResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List columns;
        private @Nullable List> rows;
        public Builder() {}
        public Builder(InsightsTableResultResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.columns = defaults.columns;
    	      this.rows = defaults.rows;
        }

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

            this.columns = columns;
            return this;
        }
        public Builder columns(InsightsTableResultResponseColumns... columns) {
            return columns(List.of(columns));
        }
        @CustomType.Setter
        public Builder rows(@Nullable List> rows) {

            this.rows = rows;
            return this;
        }
        public InsightsTableResultResponse build() {
            final var _resultValue = new InsightsTableResultResponse();
            _resultValue.columns = columns;
            _resultValue.rows = rows;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy