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

com.pulumi.aws.efs.inputs.GetFileSystemArgs 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.efs.inputs;

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


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

    public static final GetFileSystemArgs Empty = new GetFileSystemArgs();

    /**
     * Restricts the list to the file system with this creation token.
     * 
     */
    @Import(name="creationToken")
    private @Nullable Output creationToken;

    /**
     * @return Restricts the list to the file system with this creation token.
     * 
     */
    public Optional> creationToken() {
        return Optional.ofNullable(this.creationToken);
    }

    /**
     * ID that identifies the file system (e.g., fs-ccfc0d65).
     * 
     */
    @Import(name="fileSystemId")
    private @Nullable Output fileSystemId;

    /**
     * @return ID that identifies the file system (e.g., fs-ccfc0d65).
     * 
     */
    public Optional> fileSystemId() {
        return Optional.ofNullable(this.fileSystemId);
    }

    /**
     * Restricts the list to the file system with these tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Restricts the list to the file system with these tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetFileSystemArgs() {}

    private GetFileSystemArgs(GetFileSystemArgs $) {
        this.creationToken = $.creationToken;
        this.fileSystemId = $.fileSystemId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetFileSystemArgs $;

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

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

        /**
         * @param creationToken Restricts the list to the file system with this creation token.
         * 
         * @return builder
         * 
         */
        public Builder creationToken(@Nullable Output creationToken) {
            $.creationToken = creationToken;
            return this;
        }

        /**
         * @param creationToken Restricts the list to the file system with this creation token.
         * 
         * @return builder
         * 
         */
        public Builder creationToken(String creationToken) {
            return creationToken(Output.of(creationToken));
        }

        /**
         * @param fileSystemId ID that identifies the file system (e.g., fs-ccfc0d65).
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(@Nullable Output fileSystemId) {
            $.fileSystemId = fileSystemId;
            return this;
        }

        /**
         * @param fileSystemId ID that identifies the file system (e.g., fs-ccfc0d65).
         * 
         * @return builder
         * 
         */
        public Builder fileSystemId(String fileSystemId) {
            return fileSystemId(Output.of(fileSystemId));
        }

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

        /**
         * @param tags Restricts the list to the file system with these tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GetFileSystemArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy