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

import com.pulumi.aws.sagemaker.inputs.WorkteamMemberDefinitionCognitoMemberDefinitionArgs;
import com.pulumi.aws.sagemaker.inputs.WorkteamMemberDefinitionOidcMemberDefinitionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WorkteamMemberDefinitionArgs Empty = new WorkteamMemberDefinitionArgs();

    /**
     * The Amazon Cognito user group that is part of the work team. See Cognito Member Definition details below.
     * 
     */
    @Import(name="cognitoMemberDefinition")
    private @Nullable Output<WorkteamMemberDefinitionCognitoMemberDefinitionArgs> cognitoMemberDefinition;

    /**
     * @return The Amazon Cognito user group that is part of the work team. See Cognito Member Definition details below.
     * 
     */
    public Optional<Output<WorkteamMemberDefinitionCognitoMemberDefinitionArgs>> cognitoMemberDefinition() {
        return Optional.ofNullable(this.cognitoMemberDefinition);
    }

    /**
     * A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. See Cognito Member Definition details below.
     * 
     */
    @Import(name="oidcMemberDefinition")
    private @Nullable Output<WorkteamMemberDefinitionOidcMemberDefinitionArgs> oidcMemberDefinition;

    /**
     * @return A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. See Cognito Member Definition details below.
     * 
     */
    public Optional<Output<WorkteamMemberDefinitionOidcMemberDefinitionArgs>> oidcMemberDefinition() {
        return Optional.ofNullable(this.oidcMemberDefinition);
    }

    private WorkteamMemberDefinitionArgs() {}

    private WorkteamMemberDefinitionArgs(WorkteamMemberDefinitionArgs $) {
        this.cognitoMemberDefinition = $.cognitoMemberDefinition;
        this.oidcMemberDefinition = $.oidcMemberDefinition;
    }

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

    public static final class Builder {
        private WorkteamMemberDefinitionArgs $;

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

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

        /**
         * @param cognitoMemberDefinition The Amazon Cognito user group that is part of the work team. See Cognito Member Definition details below.
         * 
         * @return builder
         * 
         */
        public Builder cognitoMemberDefinition(@Nullable Output<WorkteamMemberDefinitionCognitoMemberDefinitionArgs> cognitoMemberDefinition) {
            $.cognitoMemberDefinition = cognitoMemberDefinition;
            return this;
        }

        /**
         * @param cognitoMemberDefinition The Amazon Cognito user group that is part of the work team. See Cognito Member Definition details below.
         * 
         * @return builder
         * 
         */
        public Builder cognitoMemberDefinition(WorkteamMemberDefinitionCognitoMemberDefinitionArgs cognitoMemberDefinition) {
            return cognitoMemberDefinition(Output.of(cognitoMemberDefinition));
        }

        /**
         * @param oidcMemberDefinition A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. See Cognito Member Definition details below.
         * 
         * @return builder
         * 
         */
        public Builder oidcMemberDefinition(@Nullable Output<WorkteamMemberDefinitionOidcMemberDefinitionArgs> oidcMemberDefinition) {
            $.oidcMemberDefinition = oidcMemberDefinition;
            return this;
        }

        /**
         * @param oidcMemberDefinition A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. See Cognito Member Definition details below.
         * 
         * @return builder
         * 
         */
        public Builder oidcMemberDefinition(WorkteamMemberDefinitionOidcMemberDefinitionArgs oidcMemberDefinition) {
            return oidcMemberDefinition(Output.of(oidcMemberDefinition));
        }

        public WorkteamMemberDefinitionArgs build() {
            return $;
        }
    }

}
