com.pulumi.googlenative.vmmigration.v1.outputs.ReplicatingStepResponse 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.googlenative.vmmigration.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ReplicatingStepResponse {
/**
* @return The source disks replication rate for the last 30 minutes in bytes per second.
*
*/
private String lastThirtyMinutesAverageBytesPerSecond;
/**
* @return The source disks replication rate for the last 2 minutes in bytes per second.
*
*/
private String lastTwoMinutesAverageBytesPerSecond;
/**
* @return Replicated bytes in the step.
*
*/
private String replicatedBytes;
/**
* @return Total bytes to be handled in the step.
*
*/
private String totalBytes;
private ReplicatingStepResponse() {}
/**
* @return The source disks replication rate for the last 30 minutes in bytes per second.
*
*/
public String lastThirtyMinutesAverageBytesPerSecond() {
return this.lastThirtyMinutesAverageBytesPerSecond;
}
/**
* @return The source disks replication rate for the last 2 minutes in bytes per second.
*
*/
public String lastTwoMinutesAverageBytesPerSecond() {
return this.lastTwoMinutesAverageBytesPerSecond;
}
/**
* @return Replicated bytes in the step.
*
*/
public String replicatedBytes() {
return this.replicatedBytes;
}
/**
* @return Total bytes to be handled in the step.
*
*/
public String totalBytes() {
return this.totalBytes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ReplicatingStepResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String lastThirtyMinutesAverageBytesPerSecond;
private String lastTwoMinutesAverageBytesPerSecond;
private String replicatedBytes;
private String totalBytes;
public Builder() {}
public Builder(ReplicatingStepResponse defaults) {
Objects.requireNonNull(defaults);
this.lastThirtyMinutesAverageBytesPerSecond = defaults.lastThirtyMinutesAverageBytesPerSecond;
this.lastTwoMinutesAverageBytesPerSecond = defaults.lastTwoMinutesAverageBytesPerSecond;
this.replicatedBytes = defaults.replicatedBytes;
this.totalBytes = defaults.totalBytes;
}
@CustomType.Setter
public Builder lastThirtyMinutesAverageBytesPerSecond(String lastThirtyMinutesAverageBytesPerSecond) {
this.lastThirtyMinutesAverageBytesPerSecond = Objects.requireNonNull(lastThirtyMinutesAverageBytesPerSecond);
return this;
}
@CustomType.Setter
public Builder lastTwoMinutesAverageBytesPerSecond(String lastTwoMinutesAverageBytesPerSecond) {
this.lastTwoMinutesAverageBytesPerSecond = Objects.requireNonNull(lastTwoMinutesAverageBytesPerSecond);
return this;
}
@CustomType.Setter
public Builder replicatedBytes(String replicatedBytes) {
this.replicatedBytes = Objects.requireNonNull(replicatedBytes);
return this;
}
@CustomType.Setter
public Builder totalBytes(String totalBytes) {
this.totalBytes = Objects.requireNonNull(totalBytes);
return this;
}
public ReplicatingStepResponse build() {
final var o = new ReplicatingStepResponse();
o.lastThirtyMinutesAverageBytesPerSecond = lastThirtyMinutesAverageBytesPerSecond;
o.lastTwoMinutesAverageBytesPerSecond = lastTwoMinutesAverageBytesPerSecond;
o.replicatedBytes = replicatedBytes;
o.totalBytes = totalBytes;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy