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

com.pulumi.mongodbatlas.inputs.GetOrgInvitationArgs Maven / Gradle / Ivy

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

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


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

    public static final GetOrgInvitationArgs Empty = new GetOrgInvitationArgs();

    /**
     * Unique 24-hexadecimal digit string that identifies the invitation in Atlas.
     * 
     */
    @Import(name="invitationId", required=true)
    private Output invitationId;

    /**
     * @return Unique 24-hexadecimal digit string that identifies the invitation in Atlas.
     * 
     */
    public Output invitationId() {
        return this.invitationId;
    }

    /**
     * Unique 24-hexadecimal digit string that identifies the organization to which you invited the user.
     * 
     */
    @Import(name="orgId", required=true)
    private Output orgId;

    /**
     * @return Unique 24-hexadecimal digit string that identifies the organization to which you invited the user.
     * 
     */
    public Output orgId() {
        return this.orgId;
    }

    /**
     * Email address of the invited user. This is the address to which Atlas sends the invite. If the user accepts the invitation, they log in to Atlas with this username.
     * 
     */
    @Import(name="username", required=true)
    private Output username;

    /**
     * @return Email address of the invited user. This is the address to which Atlas sends the invite. If the user accepts the invitation, they log in to Atlas with this username.
     * 
     */
    public Output username() {
        return this.username;
    }

    private GetOrgInvitationArgs() {}

    private GetOrgInvitationArgs(GetOrgInvitationArgs $) {
        this.invitationId = $.invitationId;
        this.orgId = $.orgId;
        this.username = $.username;
    }

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

    public static final class Builder {
        private GetOrgInvitationArgs $;

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

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

        /**
         * @param invitationId Unique 24-hexadecimal digit string that identifies the invitation in Atlas.
         * 
         * @return builder
         * 
         */
        public Builder invitationId(Output invitationId) {
            $.invitationId = invitationId;
            return this;
        }

        /**
         * @param invitationId Unique 24-hexadecimal digit string that identifies the invitation in Atlas.
         * 
         * @return builder
         * 
         */
        public Builder invitationId(String invitationId) {
            return invitationId(Output.of(invitationId));
        }

        /**
         * @param orgId Unique 24-hexadecimal digit string that identifies the organization to which you invited the user.
         * 
         * @return builder
         * 
         */
        public Builder orgId(Output orgId) {
            $.orgId = orgId;
            return this;
        }

        /**
         * @param orgId Unique 24-hexadecimal digit string that identifies the organization to which you invited the user.
         * 
         * @return builder
         * 
         */
        public Builder orgId(String orgId) {
            return orgId(Output.of(orgId));
        }

        /**
         * @param username Email address of the invited user. This is the address to which Atlas sends the invite. If the user accepts the invitation, they log in to Atlas with this username.
         * 
         * @return builder
         * 
         */
        public Builder username(Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username Email address of the invited user. This is the address to which Atlas sends the invite. If the user accepts the invitation, they log in to Atlas with this username.
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public GetOrgInvitationArgs build() {
            if ($.invitationId == null) {
                throw new MissingRequiredPropertyException("GetOrgInvitationArgs", "invitationId");
            }
            if ($.orgId == null) {
                throw new MissingRequiredPropertyException("GetOrgInvitationArgs", "orgId");
            }
            if ($.username == null) {
                throw new MissingRequiredPropertyException("GetOrgInvitationArgs", "username");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy