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

com.pulumi.azurenative.datamigration.outputs.GetUserTablesOracleTaskOutputResponse 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.datamigration.outputs;

import com.pulumi.azurenative.datamigration.outputs.DatabaseTableResponse;
import com.pulumi.azurenative.datamigration.outputs.ReportableExceptionResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetUserTablesOracleTaskOutputResponse {
    /**
     * @return The schema this result is for
     * 
     */
    private String schemaName;
    /**
     * @return List of valid tables found for this schema
     * 
     */
    private List tables;
    /**
     * @return Validation errors associated with the task
     * 
     */
    private List validationErrors;

    private GetUserTablesOracleTaskOutputResponse() {}
    /**
     * @return The schema this result is for
     * 
     */
    public String schemaName() {
        return this.schemaName;
    }
    /**
     * @return List of valid tables found for this schema
     * 
     */
    public List tables() {
        return this.tables;
    }
    /**
     * @return Validation errors associated with the task
     * 
     */
    public List validationErrors() {
        return this.validationErrors;
    }

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

    public static Builder builder(GetUserTablesOracleTaskOutputResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String schemaName;
        private List tables;
        private List validationErrors;
        public Builder() {}
        public Builder(GetUserTablesOracleTaskOutputResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.schemaName = defaults.schemaName;
    	      this.tables = defaults.tables;
    	      this.validationErrors = defaults.validationErrors;
        }

        @CustomType.Setter
        public Builder schemaName(String schemaName) {
            if (schemaName == null) {
              throw new MissingRequiredPropertyException("GetUserTablesOracleTaskOutputResponse", "schemaName");
            }
            this.schemaName = schemaName;
            return this;
        }
        @CustomType.Setter
        public Builder tables(List tables) {
            if (tables == null) {
              throw new MissingRequiredPropertyException("GetUserTablesOracleTaskOutputResponse", "tables");
            }
            this.tables = tables;
            return this;
        }
        public Builder tables(DatabaseTableResponse... tables) {
            return tables(List.of(tables));
        }
        @CustomType.Setter
        public Builder validationErrors(List validationErrors) {
            if (validationErrors == null) {
              throw new MissingRequiredPropertyException("GetUserTablesOracleTaskOutputResponse", "validationErrors");
            }
            this.validationErrors = validationErrors;
            return this;
        }
        public Builder validationErrors(ReportableExceptionResponse... validationErrors) {
            return validationErrors(List.of(validationErrors));
        }
        public GetUserTablesOracleTaskOutputResponse build() {
            final var _resultValue = new GetUserTablesOracleTaskOutputResponse();
            _resultValue.schemaName = schemaName;
            _resultValue.tables = tables;
            _resultValue.validationErrors = validationErrors;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy