com.pulumi.azurenative.datamigration.outputs.MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse 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.Objects;
@CustomType
public final class MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse {
/**
* @return Migration error
*
*/
private ReportableExceptionResponse error;
/**
* @return Result identifier
*
*/
private String id;
/**
* @return Result type
* Expected value is 'ErrorOutput'.
*
*/
private String resultType;
private MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse() {}
/**
* @return Migration error
*
*/
public ReportableExceptionResponse error() {
return this.error;
}
/**
* @return Result identifier
*
*/
public String id() {
return this.id;
}
/**
* @return Result type
* Expected value is 'ErrorOutput'.
*
*/
public String resultType() {
return this.resultType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private ReportableExceptionResponse error;
private String id;
private String resultType;
public Builder() {}
public Builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse defaults) {
Objects.requireNonNull(defaults);
this.error = defaults.error;
this.id = defaults.id;
this.resultType = defaults.resultType;
}
@CustomType.Setter
public Builder error(ReportableExceptionResponse error) {
if (error == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse", "error");
}
this.error = error;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder resultType(String resultType) {
if (resultType == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse", "resultType");
}
this.resultType = resultType;
return this;
}
public MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse build() {
final var _resultValue = new MigrateMySqlAzureDbForMySqlSyncTaskOutputErrorResponse();
_resultValue.error = error;
_resultValue.id = id;
_resultValue.resultType = resultType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy