
com.pulumi.azurenative.networkcloud.outputs.ClusterCapacityResponse 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.networkcloud.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterCapacityResponse {
/**
* @return The remaining appliance-based storage in GB available for workload use.
*
*/
private @Nullable Double availableApplianceStorageGB;
/**
* @return The remaining number of cores that are available in this cluster for workload use.
*
*/
private @Nullable Double availableCoreCount;
/**
* @return The remaining machine or host-based storage in GB available for workload use.
*
*/
private @Nullable Double availableHostStorageGB;
/**
* @return The remaining memory in GB that are available in this cluster for workload use.
*
*/
private @Nullable Double availableMemoryGB;
/**
* @return The total appliance-based storage in GB supported by this cluster for workload use.
*
*/
private @Nullable Double totalApplianceStorageGB;
/**
* @return The total number of cores that are supported by this cluster for workload use.
*
*/
private @Nullable Double totalCoreCount;
/**
* @return The total machine or host-based storage in GB supported by this cluster for workload use.
*
*/
private @Nullable Double totalHostStorageGB;
/**
* @return The total memory supported by this cluster for workload use.
*
*/
private @Nullable Double totalMemoryGB;
private ClusterCapacityResponse() {}
/**
* @return The remaining appliance-based storage in GB available for workload use.
*
*/
public Optional availableApplianceStorageGB() {
return Optional.ofNullable(this.availableApplianceStorageGB);
}
/**
* @return The remaining number of cores that are available in this cluster for workload use.
*
*/
public Optional availableCoreCount() {
return Optional.ofNullable(this.availableCoreCount);
}
/**
* @return The remaining machine or host-based storage in GB available for workload use.
*
*/
public Optional availableHostStorageGB() {
return Optional.ofNullable(this.availableHostStorageGB);
}
/**
* @return The remaining memory in GB that are available in this cluster for workload use.
*
*/
public Optional availableMemoryGB() {
return Optional.ofNullable(this.availableMemoryGB);
}
/**
* @return The total appliance-based storage in GB supported by this cluster for workload use.
*
*/
public Optional totalApplianceStorageGB() {
return Optional.ofNullable(this.totalApplianceStorageGB);
}
/**
* @return The total number of cores that are supported by this cluster for workload use.
*
*/
public Optional totalCoreCount() {
return Optional.ofNullable(this.totalCoreCount);
}
/**
* @return The total machine or host-based storage in GB supported by this cluster for workload use.
*
*/
public Optional totalHostStorageGB() {
return Optional.ofNullable(this.totalHostStorageGB);
}
/**
* @return The total memory supported by this cluster for workload use.
*
*/
public Optional totalMemoryGB() {
return Optional.ofNullable(this.totalMemoryGB);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterCapacityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Double availableApplianceStorageGB;
private @Nullable Double availableCoreCount;
private @Nullable Double availableHostStorageGB;
private @Nullable Double availableMemoryGB;
private @Nullable Double totalApplianceStorageGB;
private @Nullable Double totalCoreCount;
private @Nullable Double totalHostStorageGB;
private @Nullable Double totalMemoryGB;
public Builder() {}
public Builder(ClusterCapacityResponse defaults) {
Objects.requireNonNull(defaults);
this.availableApplianceStorageGB = defaults.availableApplianceStorageGB;
this.availableCoreCount = defaults.availableCoreCount;
this.availableHostStorageGB = defaults.availableHostStorageGB;
this.availableMemoryGB = defaults.availableMemoryGB;
this.totalApplianceStorageGB = defaults.totalApplianceStorageGB;
this.totalCoreCount = defaults.totalCoreCount;
this.totalHostStorageGB = defaults.totalHostStorageGB;
this.totalMemoryGB = defaults.totalMemoryGB;
}
@CustomType.Setter
public Builder availableApplianceStorageGB(@Nullable Double availableApplianceStorageGB) {
this.availableApplianceStorageGB = availableApplianceStorageGB;
return this;
}
@CustomType.Setter
public Builder availableCoreCount(@Nullable Double availableCoreCount) {
this.availableCoreCount = availableCoreCount;
return this;
}
@CustomType.Setter
public Builder availableHostStorageGB(@Nullable Double availableHostStorageGB) {
this.availableHostStorageGB = availableHostStorageGB;
return this;
}
@CustomType.Setter
public Builder availableMemoryGB(@Nullable Double availableMemoryGB) {
this.availableMemoryGB = availableMemoryGB;
return this;
}
@CustomType.Setter
public Builder totalApplianceStorageGB(@Nullable Double totalApplianceStorageGB) {
this.totalApplianceStorageGB = totalApplianceStorageGB;
return this;
}
@CustomType.Setter
public Builder totalCoreCount(@Nullable Double totalCoreCount) {
this.totalCoreCount = totalCoreCount;
return this;
}
@CustomType.Setter
public Builder totalHostStorageGB(@Nullable Double totalHostStorageGB) {
this.totalHostStorageGB = totalHostStorageGB;
return this;
}
@CustomType.Setter
public Builder totalMemoryGB(@Nullable Double totalMemoryGB) {
this.totalMemoryGB = totalMemoryGB;
return this;
}
public ClusterCapacityResponse build() {
final var _resultValue = new ClusterCapacityResponse();
_resultValue.availableApplianceStorageGB = availableApplianceStorageGB;
_resultValue.availableCoreCount = availableCoreCount;
_resultValue.availableHostStorageGB = availableHostStorageGB;
_resultValue.availableMemoryGB = availableMemoryGB;
_resultValue.totalApplianceStorageGB = totalApplianceStorageGB;
_resultValue.totalCoreCount = totalCoreCount;
_resultValue.totalHostStorageGB = totalHostStorageGB;
_resultValue.totalMemoryGB = totalMemoryGB;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy