All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.container.v1beta1.inputs.EphemeralStorageLocalSsdConfigArgs Maven / Gradle / Ivy

// *** 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.googlenative.container.v1beta1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.
 * 
 */
public final class EphemeralStorageLocalSsdConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final EphemeralStorageLocalSsdConfigArgs Empty = new EphemeralStorageLocalSsdConfigArgs();

    /**
     * Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
     * 
     */
    @Import(name="localSsdCount")
    private @Nullable Output localSsdCount;

    /**
     * @return Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
     * 
     */
    public Optional> localSsdCount() {
        return Optional.ofNullable(this.localSsdCount);
    }

    private EphemeralStorageLocalSsdConfigArgs() {}

    private EphemeralStorageLocalSsdConfigArgs(EphemeralStorageLocalSsdConfigArgs $) {
        this.localSsdCount = $.localSsdCount;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(EphemeralStorageLocalSsdConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private EphemeralStorageLocalSsdConfigArgs $;

        public Builder() {
            $ = new EphemeralStorageLocalSsdConfigArgs();
        }

        public Builder(EphemeralStorageLocalSsdConfigArgs defaults) {
            $ = new EphemeralStorageLocalSsdConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param localSsdCount Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
         * 
         * @return builder
         * 
         */
        public Builder localSsdCount(@Nullable Output localSsdCount) {
            $.localSsdCount = localSsdCount;
            return this;
        }

        /**
         * @param localSsdCount Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
         * 
         * @return builder
         * 
         */
        public Builder localSsdCount(Integer localSsdCount) {
            return localSsdCount(Output.of(localSsdCount));
        }

        public EphemeralStorageLocalSsdConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy