com.pulumi.azurenative.maps.inputs.CreatorPropertiesArgs 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.maps.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
/**
* Creator resource properties
*
*/
public final class CreatorPropertiesArgs extends com.pulumi.resources.ResourceArgs {
public static final CreatorPropertiesArgs Empty = new CreatorPropertiesArgs();
/**
* The storage units to be allocated. Integer values from 1 to 100, inclusive.
*
*/
@Import(name="storageUnits", required=true)
private Output storageUnits;
/**
* @return The storage units to be allocated. Integer values from 1 to 100, inclusive.
*
*/
public Output storageUnits() {
return this.storageUnits;
}
private CreatorPropertiesArgs() {}
private CreatorPropertiesArgs(CreatorPropertiesArgs $) {
this.storageUnits = $.storageUnits;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CreatorPropertiesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private CreatorPropertiesArgs $;
public Builder() {
$ = new CreatorPropertiesArgs();
}
public Builder(CreatorPropertiesArgs defaults) {
$ = new CreatorPropertiesArgs(Objects.requireNonNull(defaults));
}
/**
* @param storageUnits The storage units to be allocated. Integer values from 1 to 100, inclusive.
*
* @return builder
*
*/
public Builder storageUnits(Output storageUnits) {
$.storageUnits = storageUnits;
return this;
}
/**
* @param storageUnits The storage units to be allocated. Integer values from 1 to 100, inclusive.
*
* @return builder
*
*/
public Builder storageUnits(Integer storageUnits) {
return storageUnits(Output.of(storageUnits));
}
public CreatorPropertiesArgs build() {
if ($.storageUnits == null) {
throw new MissingRequiredPropertyException("CreatorPropertiesArgs", "storageUnits");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy