// *** 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.gcp.cloudidentity.inputs;

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


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

    public static final GroupMembershipRoleArgs Empty = new GroupMembershipRoleArgs();

    /**
     * The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.
     * Possible values are: `OWNER`, `MANAGER`, `MEMBER`.
     * 
     * ***
     * 
     */
    @Import(name="name", required=true)
    private Output<String> name;

    /**
     * @return The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.
     * Possible values are: `OWNER`, `MANAGER`, `MEMBER`.
     * 
     * ***
     * 
     */
    public Output<String> name() {
        return this.name;
    }

    private GroupMembershipRoleArgs() {}

    private GroupMembershipRoleArgs(GroupMembershipRoleArgs $) {
        this.name = $.name;
    }

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

    public static final class Builder {
        private GroupMembershipRoleArgs $;

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

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

        /**
         * @param name The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.
         * Possible values are: `OWNER`, `MANAGER`, `MEMBER`.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder name(Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.
         * Possible values are: `OWNER`, `MANAGER`, `MEMBER`.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

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

}
