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

com.pulumi.aws.fsx.inputs.GetOntapFileSystemArgs 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.66.3
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.fsx.inputs;

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


public final class GetOntapFileSystemArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetOntapFileSystemArgs Empty = new GetOntapFileSystemArgs();

    /**
     * Identifier of the file system (e.g. `fs-12345678`).
     * 
     */
    @Import(name="id", required=true)
    private Output id;

    /**
     * @return Identifier of the file system (e.g. `fs-12345678`).
     * 
     */
    public Output id() {
        return this.id;
    }

    /**
     * The tags associated with the file system.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return The tags associated with the file system.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetOntapFileSystemArgs() {}

    private GetOntapFileSystemArgs(GetOntapFileSystemArgs $) {
        this.id = $.id;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetOntapFileSystemArgs $;

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

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

        /**
         * @param id Identifier of the file system (e.g. `fs-12345678`).
         * 
         * @return builder
         * 
         */
        public Builder id(Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Identifier of the file system (e.g. `fs-12345678`).
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param tags The tags associated with the file system.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags The tags associated with the file system.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GetOntapFileSystemArgs build() {
            if ($.id == null) {
                throw new MissingRequiredPropertyException("GetOntapFileSystemArgs", "id");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy