
com.pulumi.azurenative.app.outputs.WorkloadProfileResponse 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.app.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 WorkloadProfileResponse {
/**
* @return The maximum capacity.
*
*/
private Integer maximumCount;
/**
* @return The minimum capacity.
*
*/
private Integer minimumCount;
/**
* @return Workload profile type for the workloads to run on.
*
*/
private String workloadProfileType;
private WorkloadProfileResponse() {}
/**
* @return The maximum capacity.
*
*/
public Integer maximumCount() {
return this.maximumCount;
}
/**
* @return The minimum capacity.
*
*/
public Integer minimumCount() {
return this.minimumCount;
}
/**
* @return Workload profile type for the workloads to run on.
*
*/
public String workloadProfileType() {
return this.workloadProfileType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkloadProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer maximumCount;
private Integer minimumCount;
private String workloadProfileType;
public Builder() {}
public Builder(WorkloadProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.maximumCount = defaults.maximumCount;
this.minimumCount = defaults.minimumCount;
this.workloadProfileType = defaults.workloadProfileType;
}
@CustomType.Setter
public Builder maximumCount(Integer maximumCount) {
if (maximumCount == null) {
throw new MissingRequiredPropertyException("WorkloadProfileResponse", "maximumCount");
}
this.maximumCount = maximumCount;
return this;
}
@CustomType.Setter
public Builder minimumCount(Integer minimumCount) {
if (minimumCount == null) {
throw new MissingRequiredPropertyException("WorkloadProfileResponse", "minimumCount");
}
this.minimumCount = minimumCount;
return this;
}
@CustomType.Setter
public Builder workloadProfileType(String workloadProfileType) {
if (workloadProfileType == null) {
throw new MissingRequiredPropertyException("WorkloadProfileResponse", "workloadProfileType");
}
this.workloadProfileType = workloadProfileType;
return this;
}
public WorkloadProfileResponse build() {
final var _resultValue = new WorkloadProfileResponse();
_resultValue.maximumCount = maximumCount;
_resultValue.minimumCount = minimumCount;
_resultValue.workloadProfileType = workloadProfileType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy