
com.pulumi.azurenative.avs.outputs.AddonVrPropertiesResponse 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.avs.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 AddonVrPropertiesResponse {
/**
* @return The type of private cloud addon
* Expected value is 'VR'.
*
*/
private String addonType;
/**
* @return The state of the addon provisioning
*
*/
private String provisioningState;
/**
* @return The vSphere Replication Server (VRS) count
*
*/
private Integer vrsCount;
private AddonVrPropertiesResponse() {}
/**
* @return The type of private cloud addon
* Expected value is 'VR'.
*
*/
public String addonType() {
return this.addonType;
}
/**
* @return The state of the addon provisioning
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The vSphere Replication Server (VRS) count
*
*/
public Integer vrsCount() {
return this.vrsCount;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AddonVrPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String addonType;
private String provisioningState;
private Integer vrsCount;
public Builder() {}
public Builder(AddonVrPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.addonType = defaults.addonType;
this.provisioningState = defaults.provisioningState;
this.vrsCount = defaults.vrsCount;
}
@CustomType.Setter
public Builder addonType(String addonType) {
if (addonType == null) {
throw new MissingRequiredPropertyException("AddonVrPropertiesResponse", "addonType");
}
this.addonType = addonType;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("AddonVrPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder vrsCount(Integer vrsCount) {
if (vrsCount == null) {
throw new MissingRequiredPropertyException("AddonVrPropertiesResponse", "vrsCount");
}
this.vrsCount = vrsCount;
return this;
}
public AddonVrPropertiesResponse build() {
final var _resultValue = new AddonVrPropertiesResponse();
_resultValue.addonType = addonType;
_resultValue.provisioningState = provisioningState;
_resultValue.vrsCount = vrsCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy