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

com.pulumi.gitlab.GroupEpicBoardArgs Maven / Gradle / Ivy

There is a newer version: 8.7.1
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.gitlab;

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


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

    public static final GroupEpicBoardArgs Empty = new GroupEpicBoardArgs();

    /**
     * The ID or URL-encoded path of the group owned by the authenticated user.
     * 
     */
    @Import(name="group", required=true)
    private Output group;

    /**
     * @return The ID or URL-encoded path of the group owned by the authenticated user.
     * 
     */
    public Output group() {
        return this.group;
    }

    /**
     * The list of epic board lists.
     * 
     */
    @Import(name="lists")
    private @Nullable Output> lists;

    /**
     * @return The list of epic board lists.
     * 
     */
    public Optional>> lists() {
        return Optional.ofNullable(this.lists);
    }

    /**
     * The name of the board.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the board.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private GroupEpicBoardArgs() {}

    private GroupEpicBoardArgs(GroupEpicBoardArgs $) {
        this.group = $.group;
        this.lists = $.lists;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GroupEpicBoardArgs $;

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

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

        /**
         * @param group The ID or URL-encoded path of the group owned by the authenticated user.
         * 
         * @return builder
         * 
         */
        public Builder group(Output group) {
            $.group = group;
            return this;
        }

        /**
         * @param group The ID or URL-encoded path of the group owned by the authenticated user.
         * 
         * @return builder
         * 
         */
        public Builder group(String group) {
            return group(Output.of(group));
        }

        /**
         * @param lists The list of epic board lists.
         * 
         * @return builder
         * 
         */
        public Builder lists(@Nullable Output> lists) {
            $.lists = lists;
            return this;
        }

        /**
         * @param lists The list of epic board lists.
         * 
         * @return builder
         * 
         */
        public Builder lists(List lists) {
            return lists(Output.of(lists));
        }

        /**
         * @param lists The list of epic board lists.
         * 
         * @return builder
         * 
         */
        public Builder lists(GroupEpicBoardListArgs... lists) {
            return lists(List.of(lists));
        }

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy