
com.pulumi.azurenative.machinelearningservices.outputs.EndpointModelSkuCapacityPropertiesResponse 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.machinelearningservices.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EndpointModelSkuCapacityPropertiesResponse {
/**
* @return The default capacity.
*
*/
private @Nullable Integer default_;
/**
* @return The maximum capacity.
*
*/
private @Nullable Integer maximum;
private EndpointModelSkuCapacityPropertiesResponse() {}
/**
* @return The default capacity.
*
*/
public Optional default_() {
return Optional.ofNullable(this.default_);
}
/**
* @return The maximum capacity.
*
*/
public Optional maximum() {
return Optional.ofNullable(this.maximum);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EndpointModelSkuCapacityPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer default_;
private @Nullable Integer maximum;
public Builder() {}
public Builder(EndpointModelSkuCapacityPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.default_ = defaults.default_;
this.maximum = defaults.maximum;
}
@CustomType.Setter("default")
public Builder default_(@Nullable Integer default_) {
this.default_ = default_;
return this;
}
@CustomType.Setter
public Builder maximum(@Nullable Integer maximum) {
this.maximum = maximum;
return this;
}
public EndpointModelSkuCapacityPropertiesResponse build() {
final var _resultValue = new EndpointModelSkuCapacityPropertiesResponse();
_resultValue.default_ = default_;
_resultValue.maximum = maximum;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy