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

com.pulumi.github.EmuGroupMappingArgs Maven / Gradle / Ivy

There is a newer version: 6.4.0-alpha.1731735876
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.github;

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


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

    public static final EmuGroupMappingArgs Empty = new EmuGroupMappingArgs();

    /**
     * Integer corresponding to the external group ID to be linked
     * 
     */
    @Import(name="groupId", required=true)
    private Output groupId;

    /**
     * @return Integer corresponding to the external group ID to be linked
     * 
     */
    public Output groupId() {
        return this.groupId;
    }

    /**
     * Slug of the GitHub team
     * 
     */
    @Import(name="teamSlug", required=true)
    private Output teamSlug;

    /**
     * @return Slug of the GitHub team
     * 
     */
    public Output teamSlug() {
        return this.teamSlug;
    }

    private EmuGroupMappingArgs() {}

    private EmuGroupMappingArgs(EmuGroupMappingArgs $) {
        this.groupId = $.groupId;
        this.teamSlug = $.teamSlug;
    }

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

    public static final class Builder {
        private EmuGroupMappingArgs $;

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

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

        /**
         * @param groupId Integer corresponding to the external group ID to be linked
         * 
         * @return builder
         * 
         */
        public Builder groupId(Output groupId) {
            $.groupId = groupId;
            return this;
        }

        /**
         * @param groupId Integer corresponding to the external group ID to be linked
         * 
         * @return builder
         * 
         */
        public Builder groupId(Integer groupId) {
            return groupId(Output.of(groupId));
        }

        /**
         * @param teamSlug Slug of the GitHub team
         * 
         * @return builder
         * 
         */
        public Builder teamSlug(Output teamSlug) {
            $.teamSlug = teamSlug;
            return this;
        }

        /**
         * @param teamSlug Slug of the GitHub team
         * 
         * @return builder
         * 
         */
        public Builder teamSlug(String teamSlug) {
            return teamSlug(Output.of(teamSlug));
        }

        public EmuGroupMappingArgs build() {
            $.groupId = Objects.requireNonNull($.groupId, "expected parameter 'groupId' to be non-null");
            $.teamSlug = Objects.requireNonNull($.teamSlug, "expected parameter 'teamSlug' to be non-null");
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy