com.pulumi.azurenative.standbypool.outputs.StandbyContainerGroupPoolElasticityProfileResponse 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.
The newest version!
// *** 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.standbypool.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class StandbyContainerGroupPoolElasticityProfileResponse {
/**
* @return Specifies maximum number of standby container groups in the standby pool.
*
*/
private Double maxReadyCapacity;
/**
* @return Specifies refill policy of the pool.
*
*/
private @Nullable String refillPolicy;
private StandbyContainerGroupPoolElasticityProfileResponse() {}
/**
* @return Specifies maximum number of standby container groups in the standby pool.
*
*/
public Double maxReadyCapacity() {
return this.maxReadyCapacity;
}
/**
* @return Specifies refill policy of the pool.
*
*/
public Optional refillPolicy() {
return Optional.ofNullable(this.refillPolicy);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StandbyContainerGroupPoolElasticityProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double maxReadyCapacity;
private @Nullable String refillPolicy;
public Builder() {}
public Builder(StandbyContainerGroupPoolElasticityProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.maxReadyCapacity = defaults.maxReadyCapacity;
this.refillPolicy = defaults.refillPolicy;
}
@CustomType.Setter
public Builder maxReadyCapacity(Double maxReadyCapacity) {
if (maxReadyCapacity == null) {
throw new MissingRequiredPropertyException("StandbyContainerGroupPoolElasticityProfileResponse", "maxReadyCapacity");
}
this.maxReadyCapacity = maxReadyCapacity;
return this;
}
@CustomType.Setter
public Builder refillPolicy(@Nullable String refillPolicy) {
this.refillPolicy = refillPolicy;
return this;
}
public StandbyContainerGroupPoolElasticityProfileResponse build() {
final var _resultValue = new StandbyContainerGroupPoolElasticityProfileResponse();
_resultValue.maxReadyCapacity = maxReadyCapacity;
_resultValue.refillPolicy = refillPolicy;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy