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

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

The 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.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 MigrateSyncCompleteCommandOutputResponse {
    /**
     * @return List of errors that happened during the command execution
     * 
     */
    private List errors;
    /**
     * @return Result identifier
     * 
     */
    private String id;

    private MigrateSyncCompleteCommandOutputResponse() {}
    /**
     * @return List of errors that happened during the command execution
     * 
     */
    public List errors() {
        return this.errors;
    }
    /**
     * @return Result identifier
     * 
     */
    public String id() {
        return this.id;
    }

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

    public static Builder builder(MigrateSyncCompleteCommandOutputResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List errors;
        private String id;
        public Builder() {}
        public Builder(MigrateSyncCompleteCommandOutputResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.errors = defaults.errors;
    	      this.id = defaults.id;
        }

        @CustomType.Setter
        public Builder errors(List errors) {
            if (errors == null) {
              throw new MissingRequiredPropertyException("MigrateSyncCompleteCommandOutputResponse", "errors");
            }
            this.errors = errors;
            return this;
        }
        public Builder errors(ReportableExceptionResponse... errors) {
            return errors(List.of(errors));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("MigrateSyncCompleteCommandOutputResponse", "id");
            }
            this.id = id;
            return this;
        }
        public MigrateSyncCompleteCommandOutputResponse build() {
            final var _resultValue = new MigrateSyncCompleteCommandOutputResponse();
            _resultValue.errors = errors;
            _resultValue.id = id;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy