com.pulumi.azurenative.migrate.inputs.StorageSettingsArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;
/**
* Storage settings.
*
*/
public final class StorageSettingsArgs extends com.pulumi.resources.ResourceArgs {
public static final StorageSettingsArgs Empty = new StorageSettingsArgs();
/**
* Cost per gigabyte per month.
*
*/
@Import(name="costPerGbPerMonth", required=true)
private Output costPerGbPerMonth;
/**
* @return Cost per gigabyte per month.
*
*/
public Output costPerGbPerMonth() {
return this.costPerGbPerMonth;
}
/**
* Maintenance cost percentage.
*
*/
@Import(name="maintainanceCostPercentageToAcquisitionCost", required=true)
private Output maintainanceCostPercentageToAcquisitionCost;
/**
* @return Maintenance cost percentage.
*
*/
public Output maintainanceCostPercentageToAcquisitionCost() {
return this.maintainanceCostPercentageToAcquisitionCost;
}
private StorageSettingsArgs() {}
private StorageSettingsArgs(StorageSettingsArgs $) {
this.costPerGbPerMonth = $.costPerGbPerMonth;
this.maintainanceCostPercentageToAcquisitionCost = $.maintainanceCostPercentageToAcquisitionCost;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageSettingsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private StorageSettingsArgs $;
public Builder() {
$ = new StorageSettingsArgs();
}
public Builder(StorageSettingsArgs defaults) {
$ = new StorageSettingsArgs(Objects.requireNonNull(defaults));
}
/**
* @param costPerGbPerMonth Cost per gigabyte per month.
*
* @return builder
*
*/
public Builder costPerGbPerMonth(Output costPerGbPerMonth) {
$.costPerGbPerMonth = costPerGbPerMonth;
return this;
}
/**
* @param costPerGbPerMonth Cost per gigabyte per month.
*
* @return builder
*
*/
public Builder costPerGbPerMonth(Double costPerGbPerMonth) {
return costPerGbPerMonth(Output.of(costPerGbPerMonth));
}
/**
* @param maintainanceCostPercentageToAcquisitionCost Maintenance cost percentage.
*
* @return builder
*
*/
public Builder maintainanceCostPercentageToAcquisitionCost(Output maintainanceCostPercentageToAcquisitionCost) {
$.maintainanceCostPercentageToAcquisitionCost = maintainanceCostPercentageToAcquisitionCost;
return this;
}
/**
* @param maintainanceCostPercentageToAcquisitionCost Maintenance cost percentage.
*
* @return builder
*
*/
public Builder maintainanceCostPercentageToAcquisitionCost(Double maintainanceCostPercentageToAcquisitionCost) {
return maintainanceCostPercentageToAcquisitionCost(Output.of(maintainanceCostPercentageToAcquisitionCost));
}
public StorageSettingsArgs build() {
if ($.costPerGbPerMonth == null) {
throw new MissingRequiredPropertyException("StorageSettingsArgs", "costPerGbPerMonth");
}
if ($.maintainanceCostPercentageToAcquisitionCost == null) {
throw new MissingRequiredPropertyException("StorageSettingsArgs", "maintainanceCostPercentageToAcquisitionCost");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy