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

com.pulumi.aws.storagegateway.inputs.UploadBufferState Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.storagegateway.inputs;

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


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

    public static final UploadBufferState Empty = new UploadBufferState();

    /**
     * Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`.
     * 
     */
    @Import(name="diskId")
    private @Nullable Output diskId;

    /**
     * @return Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`.
     * 
     */
    public Optional> diskId() {
        return Optional.ofNullable(this.diskId);
    }

    /**
     * Local disk path. For example, `/dev/nvme1n1`.
     * 
     */
    @Import(name="diskPath")
    private @Nullable Output diskPath;

    /**
     * @return Local disk path. For example, `/dev/nvme1n1`.
     * 
     */
    public Optional> diskPath() {
        return Optional.ofNullable(this.diskPath);
    }

    /**
     * The Amazon Resource Name (ARN) of the gateway.
     * 
     */
    @Import(name="gatewayArn")
    private @Nullable Output gatewayArn;

    /**
     * @return The Amazon Resource Name (ARN) of the gateway.
     * 
     */
    public Optional> gatewayArn() {
        return Optional.ofNullable(this.gatewayArn);
    }

    private UploadBufferState() {}

    private UploadBufferState(UploadBufferState $) {
        this.diskId = $.diskId;
        this.diskPath = $.diskPath;
        this.gatewayArn = $.gatewayArn;
    }

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

    public static final class Builder {
        private UploadBufferState $;

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

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

        /**
         * @param diskId Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`.
         * 
         * @return builder
         * 
         */
        public Builder diskId(@Nullable Output diskId) {
            $.diskId = diskId;
            return this;
        }

        /**
         * @param diskId Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`.
         * 
         * @return builder
         * 
         */
        public Builder diskId(String diskId) {
            return diskId(Output.of(diskId));
        }

        /**
         * @param diskPath Local disk path. For example, `/dev/nvme1n1`.
         * 
         * @return builder
         * 
         */
        public Builder diskPath(@Nullable Output diskPath) {
            $.diskPath = diskPath;
            return this;
        }

        /**
         * @param diskPath Local disk path. For example, `/dev/nvme1n1`.
         * 
         * @return builder
         * 
         */
        public Builder diskPath(String diskPath) {
            return diskPath(Output.of(diskPath));
        }

        /**
         * @param gatewayArn The Amazon Resource Name (ARN) of the gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayArn(@Nullable Output gatewayArn) {
            $.gatewayArn = gatewayArn;
            return this;
        }

        /**
         * @param gatewayArn The Amazon Resource Name (ARN) of the gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayArn(String gatewayArn) {
            return gatewayArn(Output.of(gatewayArn));
        }

        public UploadBufferState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy