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

com.pulumi.gitlab.inputs.GetProjectMilestonePlainArgs Maven / Gradle / Ivy

There is a newer version: 8.7.0-alpha.1732772606
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.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;


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

    public static final GetProjectMilestonePlainArgs Empty = new GetProjectMilestonePlainArgs();

    /**
     * The instance-wide ID of the project’s milestone.
     * 
     */
    @Import(name="milestoneId", required=true)
    private Integer milestoneId;

    /**
     * @return The instance-wide ID of the project’s milestone.
     * 
     */
    public Integer milestoneId() {
        return this.milestoneId;
    }

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

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

    private GetProjectMilestonePlainArgs() {}

    private GetProjectMilestonePlainArgs(GetProjectMilestonePlainArgs $) {
        this.milestoneId = $.milestoneId;
        this.project = $.project;
    }

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

    public static final class Builder {
        private GetProjectMilestonePlainArgs $;

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

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

        /**
         * @param milestoneId The instance-wide ID of the project’s milestone.
         * 
         * @return builder
         * 
         */
        public Builder milestoneId(Integer milestoneId) {
            $.milestoneId = milestoneId;
            return this;
        }

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

        public GetProjectMilestonePlainArgs build() {
            if ($.milestoneId == null) {
                throw new MissingRequiredPropertyException("GetProjectMilestonePlainArgs", "milestoneId");
            }
            if ($.project == null) {
                throw new MissingRequiredPropertyException("GetProjectMilestonePlainArgs", "project");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy