com.pulumi.azurenative.compute.outputs.RegionalReplicationStatusResponse 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.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class RegionalReplicationStatusResponse {
/**
* @return The details of the replication status.
*
*/
private String details;
/**
* @return It indicates progress of the replication job.
*
*/
private Integer progress;
/**
* @return The region to which the gallery image version is being replicated to.
*
*/
private String region;
/**
* @return This is the regional replication state.
*
*/
private String state;
private RegionalReplicationStatusResponse() {}
/**
* @return The details of the replication status.
*
*/
public String details() {
return this.details;
}
/**
* @return It indicates progress of the replication job.
*
*/
public Integer progress() {
return this.progress;
}
/**
* @return The region to which the gallery image version is being replicated to.
*
*/
public String region() {
return this.region;
}
/**
* @return This is the regional replication state.
*
*/
public String state() {
return this.state;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RegionalReplicationStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String details;
private Integer progress;
private String region;
private String state;
public Builder() {}
public Builder(RegionalReplicationStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.details = defaults.details;
this.progress = defaults.progress;
this.region = defaults.region;
this.state = defaults.state;
}
@CustomType.Setter
public Builder details(String details) {
if (details == null) {
throw new MissingRequiredPropertyException("RegionalReplicationStatusResponse", "details");
}
this.details = details;
return this;
}
@CustomType.Setter
public Builder progress(Integer progress) {
if (progress == null) {
throw new MissingRequiredPropertyException("RegionalReplicationStatusResponse", "progress");
}
this.progress = progress;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("RegionalReplicationStatusResponse", "region");
}
this.region = region;
return this;
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("RegionalReplicationStatusResponse", "state");
}
this.state = state;
return this;
}
public RegionalReplicationStatusResponse build() {
final var _resultValue = new RegionalReplicationStatusResponse();
_resultValue.details = details;
_resultValue.progress = progress;
_resultValue.region = region;
_resultValue.state = state;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy