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

com.pulumi.gitlab.inputs.GetProjectMembershipArgs 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.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetProjectMembershipArgs Empty = new GetProjectMembershipArgs();

    /**
     * The full path of the project.
     * 
     */
    @Import(name="fullPath")
    private @Nullable Output fullPath;

    /**
     * @return The full path of the project.
     * 
     */
    public Optional> fullPath() {
        return Optional.ofNullable(this.fullPath);
    }

    /**
     * Return all project members including members through ancestor groups
     * 
     */
    @Import(name="inherited")
    private @Nullable Output inherited;

    /**
     * @return Return all project members including members through ancestor groups
     * 
     */
    public Optional> inherited() {
        return Optional.ofNullable(this.inherited);
    }

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

    /**
     * @return The ID of the project.
     * 
     */
    public Optional> projectId() {
        return Optional.ofNullable(this.projectId);
    }

    /**
     * A query string to search for members
     * 
     */
    @Import(name="query")
    private @Nullable Output query;

    /**
     * @return A query string to search for members
     * 
     */
    public Optional> query() {
        return Optional.ofNullable(this.query);
    }

    private GetProjectMembershipArgs() {}

    private GetProjectMembershipArgs(GetProjectMembershipArgs $) {
        this.fullPath = $.fullPath;
        this.inherited = $.inherited;
        this.projectId = $.projectId;
        this.query = $.query;
    }

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

    public static final class Builder {
        private GetProjectMembershipArgs $;

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

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

        /**
         * @param fullPath The full path of the project.
         * 
         * @return builder
         * 
         */
        public Builder fullPath(@Nullable Output fullPath) {
            $.fullPath = fullPath;
            return this;
        }

        /**
         * @param fullPath The full path of the project.
         * 
         * @return builder
         * 
         */
        public Builder fullPath(String fullPath) {
            return fullPath(Output.of(fullPath));
        }

        /**
         * @param inherited Return all project members including members through ancestor groups
         * 
         * @return builder
         * 
         */
        public Builder inherited(@Nullable Output inherited) {
            $.inherited = inherited;
            return this;
        }

        /**
         * @param inherited Return all project members including members through ancestor groups
         * 
         * @return builder
         * 
         */
        public Builder inherited(Boolean inherited) {
            return inherited(Output.of(inherited));
        }

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

        /**
         * @param projectId The ID of the project.
         * 
         * @return builder
         * 
         */
        public Builder projectId(Integer projectId) {
            return projectId(Output.of(projectId));
        }

        /**
         * @param query A query string to search for members
         * 
         * @return builder
         * 
         */
        public Builder query(@Nullable Output query) {
            $.query = query;
            return this;
        }

        /**
         * @param query A query string to search for members
         * 
         * @return builder
         * 
         */
        public Builder query(String query) {
            return query(Output.of(query));
        }

        public GetProjectMembershipArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy