com.pulumi.azurenative.datamigration.outputs.MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse 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.
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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse {
/**
* @return Migration end time
*
*/
private String endedOn;
/**
* @return Result identifier
*
*/
private String id;
/**
* @return Result type
* Expected value is 'MigrationLevelOutput'.
*
*/
private String resultType;
/**
* @return Source server name
*
*/
private String sourceServer;
/**
* @return Source server version
*
*/
private String sourceServerVersion;
/**
* @return Migration start time
*
*/
private String startedOn;
/**
* @return Target server name
*
*/
private String targetServer;
/**
* @return Target server version
*
*/
private String targetServerVersion;
private MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse() {}
/**
* @return Migration end time
*
*/
public String endedOn() {
return this.endedOn;
}
/**
* @return Result identifier
*
*/
public String id() {
return this.id;
}
/**
* @return Result type
* Expected value is 'MigrationLevelOutput'.
*
*/
public String resultType() {
return this.resultType;
}
/**
* @return Source server name
*
*/
public String sourceServer() {
return this.sourceServer;
}
/**
* @return Source server version
*
*/
public String sourceServerVersion() {
return this.sourceServerVersion;
}
/**
* @return Migration start time
*
*/
public String startedOn() {
return this.startedOn;
}
/**
* @return Target server name
*
*/
public String targetServer() {
return this.targetServer;
}
/**
* @return Target server version
*
*/
public String targetServerVersion() {
return this.targetServerVersion;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String endedOn;
private String id;
private String resultType;
private String sourceServer;
private String sourceServerVersion;
private String startedOn;
private String targetServer;
private String targetServerVersion;
public Builder() {}
public Builder(MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse defaults) {
Objects.requireNonNull(defaults);
this.endedOn = defaults.endedOn;
this.id = defaults.id;
this.resultType = defaults.resultType;
this.sourceServer = defaults.sourceServer;
this.sourceServerVersion = defaults.sourceServerVersion;
this.startedOn = defaults.startedOn;
this.targetServer = defaults.targetServer;
this.targetServerVersion = defaults.targetServerVersion;
}
@CustomType.Setter
public Builder endedOn(String endedOn) {
if (endedOn == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "endedOn");
}
this.endedOn = endedOn;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder resultType(String resultType) {
if (resultType == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "resultType");
}
this.resultType = resultType;
return this;
}
@CustomType.Setter
public Builder sourceServer(String sourceServer) {
if (sourceServer == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "sourceServer");
}
this.sourceServer = sourceServer;
return this;
}
@CustomType.Setter
public Builder sourceServerVersion(String sourceServerVersion) {
if (sourceServerVersion == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "sourceServerVersion");
}
this.sourceServerVersion = sourceServerVersion;
return this;
}
@CustomType.Setter
public Builder startedOn(String startedOn) {
if (startedOn == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "startedOn");
}
this.startedOn = startedOn;
return this;
}
@CustomType.Setter
public Builder targetServer(String targetServer) {
if (targetServer == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "targetServer");
}
this.targetServer = targetServer;
return this;
}
@CustomType.Setter
public Builder targetServerVersion(String targetServerVersion) {
if (targetServerVersion == null) {
throw new MissingRequiredPropertyException("MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse", "targetServerVersion");
}
this.targetServerVersion = targetServerVersion;
return this;
}
public MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse build() {
final var _resultValue = new MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevelResponse();
_resultValue.endedOn = endedOn;
_resultValue.id = id;
_resultValue.resultType = resultType;
_resultValue.sourceServer = sourceServer;
_resultValue.sourceServerVersion = sourceServerVersion;
_resultValue.startedOn = startedOn;
_resultValue.targetServer = targetServer;
_resultValue.targetServerVersion = targetServerVersion;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy