Package com.mxraven.admin.model
Class CreateTenantGitLabSelfHostedIdentityProviderRequest.Builder
java.lang.Object
com.mxraven.admin.model.CreateTenantGitLabSelfHostedIdentityProviderRequest.Builder
- Enclosing class:
- CreateTenantGitLabSelfHostedIdentityProviderRequest
public static final class CreateTenantGitLabSelfHostedIdentityProviderRequest.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the request.Sets the GitLab client identifier.clientSecret(String clientSecret) Sets the GitLab client secret.Sets the immutable identity-provider reference.Sets the GitLab instance issuer.Sets the human-readable provider name.providerOptions(ProviderOptions providerOptions) Sets the provider-specific options.Sets the OAuth scopes.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idpRef
Sets the immutable identity-provider reference.- Parameters:
idpRef- identity-provider reference- Returns:
- this builder
-
name
Sets the human-readable provider name.- Parameters:
name- provider name- Returns:
- this builder
-
issuer
Sets the GitLab instance issuer.- Parameters:
issuer- issuer- Returns:
- this builder
-
clientId
Sets the GitLab client identifier.- Parameters:
clientId- client identifier- Returns:
- this builder
-
clientSecret
public CreateTenantGitLabSelfHostedIdentityProviderRequest.Builder clientSecret(String clientSecret) Sets the GitLab client secret.- Parameters:
clientSecret- client secret- Returns:
- this builder
-
scopes
Sets the OAuth scopes.- Parameters:
scopes- OAuth scopes- Returns:
- this builder
-
providerOptions
public CreateTenantGitLabSelfHostedIdentityProviderRequest.Builder providerOptions(ProviderOptions providerOptions) Sets the provider-specific options.- Parameters:
providerOptions- provider options- Returns:
- this builder
-
build
Builds the request.- Returns:
- new request
- Throws:
IllegalArgumentException- when a field is missing or invalid
-