com.pulumi.azurenative.compute.outputs.ReplicationStatusResponse 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.azurenative.compute.outputs.RegionalReplicationStatusResponse;
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 ReplicationStatusResponse {
/**
* @return This is the aggregated replication status based on all the regional replication status flags.
*
*/
private String aggregatedState;
/**
* @return This is a summary of replication status for each region.
*
*/
private List summary;
private ReplicationStatusResponse() {}
/**
* @return This is the aggregated replication status based on all the regional replication status flags.
*
*/
public String aggregatedState() {
return this.aggregatedState;
}
/**
* @return This is a summary of replication status for each region.
*
*/
public List summary() {
return this.summary;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ReplicationStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String aggregatedState;
private List summary;
public Builder() {}
public Builder(ReplicationStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.aggregatedState = defaults.aggregatedState;
this.summary = defaults.summary;
}
@CustomType.Setter
public Builder aggregatedState(String aggregatedState) {
if (aggregatedState == null) {
throw new MissingRequiredPropertyException("ReplicationStatusResponse", "aggregatedState");
}
this.aggregatedState = aggregatedState;
return this;
}
@CustomType.Setter
public Builder summary(List summary) {
if (summary == null) {
throw new MissingRequiredPropertyException("ReplicationStatusResponse", "summary");
}
this.summary = summary;
return this;
}
public Builder summary(RegionalReplicationStatusResponse... summary) {
return summary(List.of(summary));
}
public ReplicationStatusResponse build() {
final var _resultValue = new ReplicationStatusResponse();
_resultValue.aggregatedState = aggregatedState;
_resultValue.summary = summary;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy