
com.pulumi.azurenative.datamigration.outputs.CopyProgressDetailsResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CopyProgressDetailsResponse {
/**
* @return Copy Duration in seconds
*
*/
private Integer copyDuration;
/**
* @return Copy Start
*
*/
private String copyStart;
/**
* @return Copy throughput in KBps
*
*/
private Double copyThroughput;
/**
* @return Bytes read
*
*/
private Double dataRead;
/**
* @return Bytes written
*
*/
private Double dataWritten;
/**
* @return Type of parallel copy (Dynamic range, Physical partition, none).
*
*/
private String parallelCopyType;
/**
* @return Rows Copied
*
*/
private Double rowsCopied;
/**
* @return Rows read
*
*/
private Double rowsRead;
/**
* @return Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
*
*/
private String status;
/**
* @return Table Name
*
*/
private String tableName;
/**
* @return The degree of parallelization.
*
*/
private Integer usedParallelCopies;
private CopyProgressDetailsResponse() {}
/**
* @return Copy Duration in seconds
*
*/
public Integer copyDuration() {
return this.copyDuration;
}
/**
* @return Copy Start
*
*/
public String copyStart() {
return this.copyStart;
}
/**
* @return Copy throughput in KBps
*
*/
public Double copyThroughput() {
return this.copyThroughput;
}
/**
* @return Bytes read
*
*/
public Double dataRead() {
return this.dataRead;
}
/**
* @return Bytes written
*
*/
public Double dataWritten() {
return this.dataWritten;
}
/**
* @return Type of parallel copy (Dynamic range, Physical partition, none).
*
*/
public String parallelCopyType() {
return this.parallelCopyType;
}
/**
* @return Rows Copied
*
*/
public Double rowsCopied() {
return this.rowsCopied;
}
/**
* @return Rows read
*
*/
public Double rowsRead() {
return this.rowsRead;
}
/**
* @return Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
*
*/
public String status() {
return this.status;
}
/**
* @return Table Name
*
*/
public String tableName() {
return this.tableName;
}
/**
* @return The degree of parallelization.
*
*/
public Integer usedParallelCopies() {
return this.usedParallelCopies;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CopyProgressDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer copyDuration;
private String copyStart;
private Double copyThroughput;
private Double dataRead;
private Double dataWritten;
private String parallelCopyType;
private Double rowsCopied;
private Double rowsRead;
private String status;
private String tableName;
private Integer usedParallelCopies;
public Builder() {}
public Builder(CopyProgressDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.copyDuration = defaults.copyDuration;
this.copyStart = defaults.copyStart;
this.copyThroughput = defaults.copyThroughput;
this.dataRead = defaults.dataRead;
this.dataWritten = defaults.dataWritten;
this.parallelCopyType = defaults.parallelCopyType;
this.rowsCopied = defaults.rowsCopied;
this.rowsRead = defaults.rowsRead;
this.status = defaults.status;
this.tableName = defaults.tableName;
this.usedParallelCopies = defaults.usedParallelCopies;
}
@CustomType.Setter
public Builder copyDuration(Integer copyDuration) {
if (copyDuration == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "copyDuration");
}
this.copyDuration = copyDuration;
return this;
}
@CustomType.Setter
public Builder copyStart(String copyStart) {
if (copyStart == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "copyStart");
}
this.copyStart = copyStart;
return this;
}
@CustomType.Setter
public Builder copyThroughput(Double copyThroughput) {
if (copyThroughput == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "copyThroughput");
}
this.copyThroughput = copyThroughput;
return this;
}
@CustomType.Setter
public Builder dataRead(Double dataRead) {
if (dataRead == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "dataRead");
}
this.dataRead = dataRead;
return this;
}
@CustomType.Setter
public Builder dataWritten(Double dataWritten) {
if (dataWritten == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "dataWritten");
}
this.dataWritten = dataWritten;
return this;
}
@CustomType.Setter
public Builder parallelCopyType(String parallelCopyType) {
if (parallelCopyType == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "parallelCopyType");
}
this.parallelCopyType = parallelCopyType;
return this;
}
@CustomType.Setter
public Builder rowsCopied(Double rowsCopied) {
if (rowsCopied == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "rowsCopied");
}
this.rowsCopied = rowsCopied;
return this;
}
@CustomType.Setter
public Builder rowsRead(Double rowsRead) {
if (rowsRead == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "rowsRead");
}
this.rowsRead = rowsRead;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder tableName(String tableName) {
if (tableName == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "tableName");
}
this.tableName = tableName;
return this;
}
@CustomType.Setter
public Builder usedParallelCopies(Integer usedParallelCopies) {
if (usedParallelCopies == null) {
throw new MissingRequiredPropertyException("CopyProgressDetailsResponse", "usedParallelCopies");
}
this.usedParallelCopies = usedParallelCopies;
return this;
}
public CopyProgressDetailsResponse build() {
final var _resultValue = new CopyProgressDetailsResponse();
_resultValue.copyDuration = copyDuration;
_resultValue.copyStart = copyStart;
_resultValue.copyThroughput = copyThroughput;
_resultValue.dataRead = dataRead;
_resultValue.dataWritten = dataWritten;
_resultValue.parallelCopyType = parallelCopyType;
_resultValue.rowsCopied = rowsCopied;
_resultValue.rowsRead = rowsRead;
_resultValue.status = status;
_resultValue.tableName = tableName;
_resultValue.usedParallelCopies = usedParallelCopies;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy