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

com.pulumi.github.inputs.GetUserExternalIdentityArgs Maven / Gradle / Ivy

There is a newer version: 6.3.0
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.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 GetUserExternalIdentityArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetUserExternalIdentityArgs Empty = new GetUserExternalIdentityArgs();

    /**
     * The username of the member to fetch external identity for.
     * 
     */
    @Import(name="username", required=true)
    private Output username;

    /**
     * @return The username of the member to fetch external identity for.
     * 
     */
    public Output username() {
        return this.username;
    }

    private GetUserExternalIdentityArgs() {}

    private GetUserExternalIdentityArgs(GetUserExternalIdentityArgs $) {
        this.username = $.username;
    }

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

    public static final class Builder {
        private GetUserExternalIdentityArgs $;

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

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

        /**
         * @param username The username of the member to fetch external identity for.
         * 
         * @return builder
         * 
         */
        public Builder username(Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username The username of the member to fetch external identity for.
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy