
com.pulumi.azurenative.datamigration.outputs.MigrateMISyncCompleteCommandOutputResponse 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.datamigration.outputs;
import com.pulumi.azurenative.datamigration.outputs.ReportableExceptionResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class MigrateMISyncCompleteCommandOutputResponse {
/**
* @return List of errors that happened during the command execution
*
*/
private @Nullable List errors;
private MigrateMISyncCompleteCommandOutputResponse() {}
/**
* @return List of errors that happened during the command execution
*
*/
public List errors() {
return this.errors == null ? List.of() : this.errors;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MigrateMISyncCompleteCommandOutputResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List errors;
public Builder() {}
public Builder(MigrateMISyncCompleteCommandOutputResponse defaults) {
Objects.requireNonNull(defaults);
this.errors = defaults.errors;
}
@CustomType.Setter
public Builder errors(@Nullable List errors) {
this.errors = errors;
return this;
}
public Builder errors(ReportableExceptionResponse... errors) {
return errors(List.of(errors));
}
public MigrateMISyncCompleteCommandOutputResponse build() {
final var _resultValue = new MigrateMISyncCompleteCommandOutputResponse();
_resultValue.errors = errors;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy