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

com.pulumi.azurenative.datamigration.outputs.QueryAnalysisValidationResultResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.QueryExecutionResultResponse;
import com.pulumi.azurenative.datamigration.outputs.ValidationErrorResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class QueryAnalysisValidationResultResponse {
    /**
     * @return List of queries executed and it's execution results in source and target
     * 
     */
    private @Nullable QueryExecutionResultResponse queryResults;
    /**
     * @return Errors that are part of the execution
     * 
     */
    private @Nullable ValidationErrorResponse validationErrors;

    private QueryAnalysisValidationResultResponse() {}
    /**
     * @return List of queries executed and it's execution results in source and target
     * 
     */
    public Optional queryResults() {
        return Optional.ofNullable(this.queryResults);
    }
    /**
     * @return Errors that are part of the execution
     * 
     */
    public Optional validationErrors() {
        return Optional.ofNullable(this.validationErrors);
    }

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

    public static Builder builder(QueryAnalysisValidationResultResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable QueryExecutionResultResponse queryResults;
        private @Nullable ValidationErrorResponse validationErrors;
        public Builder() {}
        public Builder(QueryAnalysisValidationResultResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.queryResults = defaults.queryResults;
    	      this.validationErrors = defaults.validationErrors;
        }

        @CustomType.Setter
        public Builder queryResults(@Nullable QueryExecutionResultResponse queryResults) {

            this.queryResults = queryResults;
            return this;
        }
        @CustomType.Setter
        public Builder validationErrors(@Nullable ValidationErrorResponse validationErrors) {

            this.validationErrors = validationErrors;
            return this;
        }
        public QueryAnalysisValidationResultResponse build() {
            final var _resultValue = new QueryAnalysisValidationResultResponse();
            _resultValue.queryResults = queryResults;
            _resultValue.validationErrors = validationErrors;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy