com.pulumi.azurenative.migrate.outputs.LaborSettingsResponse 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.migrate.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class LaborSettingsResponse {
/**
* @return Hourly administrator cost.
*
*/
private Double hourlyAdminCost;
/**
* @return Physical servers per administrator.
*
*/
private Integer physicalServersPerAdmin;
/**
* @return Virtual machines per administrator.
*
*/
private Integer virtualMachinesPerAdmin;
private LaborSettingsResponse() {}
/**
* @return Hourly administrator cost.
*
*/
public Double hourlyAdminCost() {
return this.hourlyAdminCost;
}
/**
* @return Physical servers per administrator.
*
*/
public Integer physicalServersPerAdmin() {
return this.physicalServersPerAdmin;
}
/**
* @return Virtual machines per administrator.
*
*/
public Integer virtualMachinesPerAdmin() {
return this.virtualMachinesPerAdmin;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LaborSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double hourlyAdminCost;
private Integer physicalServersPerAdmin;
private Integer virtualMachinesPerAdmin;
public Builder() {}
public Builder(LaborSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.hourlyAdminCost = defaults.hourlyAdminCost;
this.physicalServersPerAdmin = defaults.physicalServersPerAdmin;
this.virtualMachinesPerAdmin = defaults.virtualMachinesPerAdmin;
}
@CustomType.Setter
public Builder hourlyAdminCost(Double hourlyAdminCost) {
if (hourlyAdminCost == null) {
throw new MissingRequiredPropertyException("LaborSettingsResponse", "hourlyAdminCost");
}
this.hourlyAdminCost = hourlyAdminCost;
return this;
}
@CustomType.Setter
public Builder physicalServersPerAdmin(Integer physicalServersPerAdmin) {
if (physicalServersPerAdmin == null) {
throw new MissingRequiredPropertyException("LaborSettingsResponse", "physicalServersPerAdmin");
}
this.physicalServersPerAdmin = physicalServersPerAdmin;
return this;
}
@CustomType.Setter
public Builder virtualMachinesPerAdmin(Integer virtualMachinesPerAdmin) {
if (virtualMachinesPerAdmin == null) {
throw new MissingRequiredPropertyException("LaborSettingsResponse", "virtualMachinesPerAdmin");
}
this.virtualMachinesPerAdmin = virtualMachinesPerAdmin;
return this;
}
public LaborSettingsResponse build() {
final var _resultValue = new LaborSettingsResponse();
_resultValue.hourlyAdminCost = hourlyAdminCost;
_resultValue.physicalServersPerAdmin = physicalServersPerAdmin;
_resultValue.virtualMachinesPerAdmin = virtualMachinesPerAdmin;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy