// *** 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.iam.outputs;

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

@CustomType
public final class WorkforcePoolProviderOidcWebSsoConfig {
    /**
     * @return The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition.
     * * MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS: Merge the UserInfo Endpoint Claims with ID Token Claims, preferring UserInfo Claim Values for the same Claim Name. This option is available only for the Authorization Code Flow.
     * * ONLY_ID_TOKEN_CLAIMS: Only include ID Token Claims.
     *   Possible values are: `MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS`, `ONLY_ID_TOKEN_CLAIMS`.
     * 
     */
    private String assertionClaimsBehavior;
    /**
     * @return The Response Type to request for in the OIDC Authorization Request for web sign-in.
     * The `CODE` Response Type is recommended to avoid the Implicit Flow, for security reasons.
     * * CODE: The `response_type=code` selection uses the Authorization Code Flow for web sign-in. Requires a configured client secret.
     * * ID_TOKEN: The `response_type=id_token` selection uses the Implicit Flow for web sign-in.
     *   Possible values are: `CODE`, `ID_TOKEN`.
     * 
     */
    private String responseType;

    private WorkforcePoolProviderOidcWebSsoConfig() {}
    /**
     * @return The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition.
     * * MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS: Merge the UserInfo Endpoint Claims with ID Token Claims, preferring UserInfo Claim Values for the same Claim Name. This option is available only for the Authorization Code Flow.
     * * ONLY_ID_TOKEN_CLAIMS: Only include ID Token Claims.
     *   Possible values are: `MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS`, `ONLY_ID_TOKEN_CLAIMS`.
     * 
     */
    public String assertionClaimsBehavior() {
        return this.assertionClaimsBehavior;
    }
    /**
     * @return The Response Type to request for in the OIDC Authorization Request for web sign-in.
     * The `CODE` Response Type is recommended to avoid the Implicit Flow, for security reasons.
     * * CODE: The `response_type=code` selection uses the Authorization Code Flow for web sign-in. Requires a configured client secret.
     * * ID_TOKEN: The `response_type=id_token` selection uses the Implicit Flow for web sign-in.
     *   Possible values are: `CODE`, `ID_TOKEN`.
     * 
     */
    public String responseType() {
        return this.responseType;
    }

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

    public static Builder builder(WorkforcePoolProviderOidcWebSsoConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String assertionClaimsBehavior;
        private String responseType;
        public Builder() {}
        public Builder(WorkforcePoolProviderOidcWebSsoConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.assertionClaimsBehavior = defaults.assertionClaimsBehavior;
    	      this.responseType = defaults.responseType;
        }

        @CustomType.Setter
        public Builder assertionClaimsBehavior(String assertionClaimsBehavior) {
            this.assertionClaimsBehavior = Objects.requireNonNull(assertionClaimsBehavior);
            return this;
        }
        @CustomType.Setter
        public Builder responseType(String responseType) {
            this.responseType = Objects.requireNonNull(responseType);
            return this;
        }
        public WorkforcePoolProviderOidcWebSsoConfig build() {
            final var o = new WorkforcePoolProviderOidcWebSsoConfig();
            o.assertionClaimsBehavior = assertionClaimsBehavior;
            o.responseType = responseType;
            return o;
        }
    }
}
