
com.pulumi.azurenative.offazurespringboot.outputs.SpringbootappsPropertiesResponseInstances 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.offazurespringboot.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SpringbootappsPropertiesResponseInstances {
/**
* @return The instance count of this app instance
*
*/
private @Nullable Integer instanceCount;
/**
* @return The jvm heap memory allocated of this app instance
*
*/
private @Nullable Integer jvmMemoryInMB;
/**
* @return The machine ARM resource Id of this app instance
*
*/
private String machineArmId;
private SpringbootappsPropertiesResponseInstances() {}
/**
* @return The instance count of this app instance
*
*/
public Optional instanceCount() {
return Optional.ofNullable(this.instanceCount);
}
/**
* @return The jvm heap memory allocated of this app instance
*
*/
public Optional jvmMemoryInMB() {
return Optional.ofNullable(this.jvmMemoryInMB);
}
/**
* @return The machine ARM resource Id of this app instance
*
*/
public String machineArmId() {
return this.machineArmId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SpringbootappsPropertiesResponseInstances defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer instanceCount;
private @Nullable Integer jvmMemoryInMB;
private String machineArmId;
public Builder() {}
public Builder(SpringbootappsPropertiesResponseInstances defaults) {
Objects.requireNonNull(defaults);
this.instanceCount = defaults.instanceCount;
this.jvmMemoryInMB = defaults.jvmMemoryInMB;
this.machineArmId = defaults.machineArmId;
}
@CustomType.Setter
public Builder instanceCount(@Nullable Integer instanceCount) {
this.instanceCount = instanceCount;
return this;
}
@CustomType.Setter
public Builder jvmMemoryInMB(@Nullable Integer jvmMemoryInMB) {
this.jvmMemoryInMB = jvmMemoryInMB;
return this;
}
@CustomType.Setter
public Builder machineArmId(String machineArmId) {
if (machineArmId == null) {
throw new MissingRequiredPropertyException("SpringbootappsPropertiesResponseInstances", "machineArmId");
}
this.machineArmId = machineArmId;
return this;
}
public SpringbootappsPropertiesResponseInstances build() {
final var _resultValue = new SpringbootappsPropertiesResponseInstances();
_resultValue.instanceCount = instanceCount;
_resultValue.jvmMemoryInMB = jvmMemoryInMB;
_resultValue.machineArmId = machineArmId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy