Interface CustomOauth2ProviderConfigInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomOauth2ProviderConfigInput.Builder,
,CustomOauth2ProviderConfigInput> SdkBuilder<CustomOauth2ProviderConfigInput.Builder,
,CustomOauth2ProviderConfigInput> SdkPojo
- Enclosing class:
CustomOauth2ProviderConfigInput
@Mutable
@NotThreadSafe
public static interface CustomOauth2ProviderConfigInput.Builder
extends SdkPojo, CopyableBuilder<CustomOauth2ProviderConfigInput.Builder,CustomOauth2ProviderConfigInput>
-
Method Summary
Modifier and TypeMethodDescriptionThe client ID for the custom OAuth2 provider.clientSecret
(String clientSecret) The client secret for the custom OAuth2 provider.oauthDiscovery
(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the custom provider.oauthDiscovery
(Oauth2Discovery oauthDiscovery) The OAuth2 discovery information for the custom provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
oauthDiscovery
The OAuth2 discovery information for the custom provider.
- Parameters:
oauthDiscovery
- The OAuth2 discovery information for the custom provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauthDiscovery
default CustomOauth2ProviderConfigInput.Builder oauthDiscovery(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the custom provider.
This is a convenience method that creates an instance of theOauth2Discovery.Builder
avoiding the need to create one manually viaOauth2Discovery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooauthDiscovery(Oauth2Discovery)
.- Parameters:
oauthDiscovery
- a consumer that will call methods onOauth2Discovery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientId
The client ID for the custom OAuth2 provider.
- Parameters:
clientId
- The client ID for the custom OAuth2 provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret for the custom OAuth2 provider.
- Parameters:
clientSecret
- The client secret for the custom OAuth2 provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-