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

com.pulumi.scm.inputs.SnippetState Maven / Gradle / Ivy

There is a newer version: 0.2.0
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.scm.inputs;

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


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

    public static final SnippetState Empty = new SnippetState();

    /**
     * The CreatedIn param.
     * 
     */
    @Import(name="createdIn")
    private @Nullable Output createdIn;

    /**
     * @return The CreatedIn param.
     * 
     */
    public Optional> createdIn() {
        return Optional.ofNullable(this.createdIn);
    }

    /**
     * The Description param.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The Description param.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The DisplayName param.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The DisplayName param.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * The Folders param.
     * 
     */
    @Import(name="folders")
    private @Nullable Output> folders;

    /**
     * @return The Folders param.
     * 
     */
    public Optional>> folders() {
        return Optional.ofNullable(this.folders);
    }

    /**
     * The Labels param.
     * 
     */
    @Import(name="labels")
    private @Nullable Output> labels;

    /**
     * @return The Labels param.
     * 
     */
    public Optional>> labels() {
        return Optional.ofNullable(this.labels);
    }

    /**
     * The LastUpdate param.
     * 
     */
    @Import(name="lastUpdate")
    private @Nullable Output lastUpdate;

    /**
     * @return The LastUpdate param.
     * 
     */
    public Optional> lastUpdate() {
        return Optional.ofNullable(this.lastUpdate);
    }

    /**
     * The Name param.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The Name param.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The SharedIn param.
     * 
     */
    @Import(name="sharedIn")
    private @Nullable Output sharedIn;

    /**
     * @return The SharedIn param.
     * 
     */
    public Optional> sharedIn() {
        return Optional.ofNullable(this.sharedIn);
    }

    @Import(name="tfid")
    private @Nullable Output tfid;

    public Optional> tfid() {
        return Optional.ofNullable(this.tfid);
    }

    /**
     * The Type param. String must be one of these: `"predefined"`.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The Type param. String must be one of these: `"predefined"`.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private SnippetState() {}

    private SnippetState(SnippetState $) {
        this.createdIn = $.createdIn;
        this.description = $.description;
        this.displayName = $.displayName;
        this.folders = $.folders;
        this.labels = $.labels;
        this.lastUpdate = $.lastUpdate;
        this.name = $.name;
        this.sharedIn = $.sharedIn;
        this.tfid = $.tfid;
        this.type = $.type;
    }

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

    public static final class Builder {
        private SnippetState $;

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

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

        /**
         * @param createdIn The CreatedIn param.
         * 
         * @return builder
         * 
         */
        public Builder createdIn(@Nullable Output createdIn) {
            $.createdIn = createdIn;
            return this;
        }

        /**
         * @param createdIn The CreatedIn param.
         * 
         * @return builder
         * 
         */
        public Builder createdIn(String createdIn) {
            return createdIn(Output.of(createdIn));
        }

        /**
         * @param description The Description param.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The Description param.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName The DisplayName param.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The DisplayName param.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param folders The Folders param.
         * 
         * @return builder
         * 
         */
        public Builder folders(@Nullable Output> folders) {
            $.folders = folders;
            return this;
        }

        /**
         * @param folders The Folders param.
         * 
         * @return builder
         * 
         */
        public Builder folders(List folders) {
            return folders(Output.of(folders));
        }

        /**
         * @param folders The Folders param.
         * 
         * @return builder
         * 
         */
        public Builder folders(SnippetFolderArgs... folders) {
            return folders(List.of(folders));
        }

        /**
         * @param labels The Labels param.
         * 
         * @return builder
         * 
         */
        public Builder labels(@Nullable Output> labels) {
            $.labels = labels;
            return this;
        }

        /**
         * @param labels The Labels param.
         * 
         * @return builder
         * 
         */
        public Builder labels(List labels) {
            return labels(Output.of(labels));
        }

        /**
         * @param labels The Labels param.
         * 
         * @return builder
         * 
         */
        public Builder labels(String... labels) {
            return labels(List.of(labels));
        }

        /**
         * @param lastUpdate The LastUpdate param.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdate(@Nullable Output lastUpdate) {
            $.lastUpdate = lastUpdate;
            return this;
        }

        /**
         * @param lastUpdate The LastUpdate param.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdate(String lastUpdate) {
            return lastUpdate(Output.of(lastUpdate));
        }

        /**
         * @param name The Name param.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The Name param.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param sharedIn The SharedIn param.
         * 
         * @return builder
         * 
         */
        public Builder sharedIn(@Nullable Output sharedIn) {
            $.sharedIn = sharedIn;
            return this;
        }

        /**
         * @param sharedIn The SharedIn param.
         * 
         * @return builder
         * 
         */
        public Builder sharedIn(String sharedIn) {
            return sharedIn(Output.of(sharedIn));
        }

        public Builder tfid(@Nullable Output tfid) {
            $.tfid = tfid;
            return this;
        }

        public Builder tfid(String tfid) {
            return tfid(Output.of(tfid));
        }

        /**
         * @param type The Type param. String must be one of these: `"predefined"`.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The Type param. String must be one of these: `"predefined"`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public SnippetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy