com.pulumi.azurenative.datamigration.outputs.SqlDbMigrationStatusDetailsResponse 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.CopyProgressDetailsResponse;
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 SqlDbMigrationStatusDetailsResponse {
/**
* @return Details on progress of ADF copy activities.
*
*/
private List listOfCopyProgressDetails;
/**
* @return Current State of Migration.
*
*/
private String migrationState;
/**
* @return Sql Data Copy errors, if any.
*
*/
private List sqlDataCopyErrors;
private SqlDbMigrationStatusDetailsResponse() {}
/**
* @return Details on progress of ADF copy activities.
*
*/
public List listOfCopyProgressDetails() {
return this.listOfCopyProgressDetails;
}
/**
* @return Current State of Migration.
*
*/
public String migrationState() {
return this.migrationState;
}
/**
* @return Sql Data Copy errors, if any.
*
*/
public List sqlDataCopyErrors() {
return this.sqlDataCopyErrors;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlDbMigrationStatusDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List listOfCopyProgressDetails;
private String migrationState;
private List sqlDataCopyErrors;
public Builder() {}
public Builder(SqlDbMigrationStatusDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.listOfCopyProgressDetails = defaults.listOfCopyProgressDetails;
this.migrationState = defaults.migrationState;
this.sqlDataCopyErrors = defaults.sqlDataCopyErrors;
}
@CustomType.Setter
public Builder listOfCopyProgressDetails(List listOfCopyProgressDetails) {
if (listOfCopyProgressDetails == null) {
throw new MissingRequiredPropertyException("SqlDbMigrationStatusDetailsResponse", "listOfCopyProgressDetails");
}
this.listOfCopyProgressDetails = listOfCopyProgressDetails;
return this;
}
public Builder listOfCopyProgressDetails(CopyProgressDetailsResponse... listOfCopyProgressDetails) {
return listOfCopyProgressDetails(List.of(listOfCopyProgressDetails));
}
@CustomType.Setter
public Builder migrationState(String migrationState) {
if (migrationState == null) {
throw new MissingRequiredPropertyException("SqlDbMigrationStatusDetailsResponse", "migrationState");
}
this.migrationState = migrationState;
return this;
}
@CustomType.Setter
public Builder sqlDataCopyErrors(List sqlDataCopyErrors) {
if (sqlDataCopyErrors == null) {
throw new MissingRequiredPropertyException("SqlDbMigrationStatusDetailsResponse", "sqlDataCopyErrors");
}
this.sqlDataCopyErrors = sqlDataCopyErrors;
return this;
}
public Builder sqlDataCopyErrors(String... sqlDataCopyErrors) {
return sqlDataCopyErrors(List.of(sqlDataCopyErrors));
}
public SqlDbMigrationStatusDetailsResponse build() {
final var _resultValue = new SqlDbMigrationStatusDetailsResponse();
_resultValue.listOfCopyProgressDetails = listOfCopyProgressDetails;
_resultValue.migrationState = migrationState;
_resultValue.sqlDataCopyErrors = sqlDataCopyErrors;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy