
com.pulumi.azurenative.datamigration.outputs.ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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 ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse {
/**
* @return Database identifier
*
*/
private String id;
/**
* @return Name of database
*
*/
private String name;
/**
* @return Errors associated with a selected database object
*
*/
private List validationErrors;
private ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse() {}
/**
* @return Database identifier
*
*/
public String id() {
return this.id;
}
/**
* @return Name of database
*
*/
public String name() {
return this.name;
}
/**
* @return Errors associated with a selected database object
*
*/
public List validationErrors() {
return this.validationErrors;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String name;
private List validationErrors;
public Builder() {}
public Builder(ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
this.validationErrors = defaults.validationErrors;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder validationErrors(List validationErrors) {
if (validationErrors == null) {
throw new MissingRequiredPropertyException("ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse", "validationErrors");
}
this.validationErrors = validationErrors;
return this;
}
public Builder validationErrors(ReportableExceptionResponse... validationErrors) {
return validationErrors(List.of(validationErrors));
}
public ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse build() {
final var _resultValue = new ValidateMigrationInputSqlServerSqlMISyncTaskOutputResponse();
_resultValue.id = id;
_resultValue.name = name;
_resultValue.validationErrors = validationErrors;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy