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

com.pulumi.aws.fsx.inputs.OntapFileSystemDiskIopsConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.aws.fsx.inputs;

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


public final class OntapFileSystemDiskIopsConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final OntapFileSystemDiskIopsConfigurationArgs Empty = new OntapFileSystemDiskIopsConfigurationArgs();

    /**
     * The total number of SSD IOPS provisioned for the file system.
     * 
     */
    @Import(name="iops")
    private @Nullable Output iops;

    /**
     * @return The total number of SSD IOPS provisioned for the file system.
     * 
     */
    public Optional> iops() {
        return Optional.ofNullable(this.iops);
    }

    /**
     * Specifies whether the number of IOPS for the file system is using the system. Valid values are `AUTOMATIC` and `USER_PROVISIONED`. Default value is `AUTOMATIC`.
     * 
     */
    @Import(name="mode")
    private @Nullable Output mode;

    /**
     * @return Specifies whether the number of IOPS for the file system is using the system. Valid values are `AUTOMATIC` and `USER_PROVISIONED`. Default value is `AUTOMATIC`.
     * 
     */
    public Optional> mode() {
        return Optional.ofNullable(this.mode);
    }

    private OntapFileSystemDiskIopsConfigurationArgs() {}

    private OntapFileSystemDiskIopsConfigurationArgs(OntapFileSystemDiskIopsConfigurationArgs $) {
        this.iops = $.iops;
        this.mode = $.mode;
    }

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

    public static final class Builder {
        private OntapFileSystemDiskIopsConfigurationArgs $;

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

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

        /**
         * @param iops The total number of SSD IOPS provisioned for the file system.
         * 
         * @return builder
         * 
         */
        public Builder iops(@Nullable Output iops) {
            $.iops = iops;
            return this;
        }

        /**
         * @param iops The total number of SSD IOPS provisioned for the file system.
         * 
         * @return builder
         * 
         */
        public Builder iops(Integer iops) {
            return iops(Output.of(iops));
        }

        /**
         * @param mode Specifies whether the number of IOPS for the file system is using the system. Valid values are `AUTOMATIC` and `USER_PROVISIONED`. Default value is `AUTOMATIC`.
         * 
         * @return builder
         * 
         */
        public Builder mode(@Nullable Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode Specifies whether the number of IOPS for the file system is using the system. Valid values are `AUTOMATIC` and `USER_PROVISIONED`. Default value is `AUTOMATIC`.
         * 
         * @return builder
         * 
         */
        public Builder mode(String mode) {
            return mode(Output.of(mode));
        }

        public OntapFileSystemDiskIopsConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy