
com.pulumi.azurenative.migrate.outputs.NetworkSettingsResponse 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.util.Objects;
@CustomType
public final class NetworkSettingsResponse {
/**
* @return Network hardware and software cost percentage.
*
*/
private Double hardwareSoftwareCostPercentage;
/**
* @return Network maintenance cost percentage.
*
*/
private Double maintenanceCostPercentage;
private NetworkSettingsResponse() {}
/**
* @return Network hardware and software cost percentage.
*
*/
public Double hardwareSoftwareCostPercentage() {
return this.hardwareSoftwareCostPercentage;
}
/**
* @return Network maintenance cost percentage.
*
*/
public Double maintenanceCostPercentage() {
return this.maintenanceCostPercentage;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworkSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double hardwareSoftwareCostPercentage;
private Double maintenanceCostPercentage;
public Builder() {}
public Builder(NetworkSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.hardwareSoftwareCostPercentage = defaults.hardwareSoftwareCostPercentage;
this.maintenanceCostPercentage = defaults.maintenanceCostPercentage;
}
@CustomType.Setter
public Builder hardwareSoftwareCostPercentage(Double hardwareSoftwareCostPercentage) {
if (hardwareSoftwareCostPercentage == null) {
throw new MissingRequiredPropertyException("NetworkSettingsResponse", "hardwareSoftwareCostPercentage");
}
this.hardwareSoftwareCostPercentage = hardwareSoftwareCostPercentage;
return this;
}
@CustomType.Setter
public Builder maintenanceCostPercentage(Double maintenanceCostPercentage) {
if (maintenanceCostPercentage == null) {
throw new MissingRequiredPropertyException("NetworkSettingsResponse", "maintenanceCostPercentage");
}
this.maintenanceCostPercentage = maintenanceCostPercentage;
return this;
}
public NetworkSettingsResponse build() {
final var _resultValue = new NetworkSettingsResponse();
_resultValue.hardwareSoftwareCostPercentage = hardwareSoftwareCostPercentage;
_resultValue.maintenanceCostPercentage = maintenanceCostPercentage;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy