Interface GithubOauth2ProviderConfigOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GithubOauth2ProviderConfigOutput.Builder,
,GithubOauth2ProviderConfigOutput> SdkBuilder<GithubOauth2ProviderConfigOutput.Builder,
,GithubOauth2ProviderConfigOutput> SdkPojo
- Enclosing class:
GithubOauth2ProviderConfigOutput
@Mutable
@NotThreadSafe
public static interface GithubOauth2ProviderConfigOutput.Builder
extends SdkPojo, CopyableBuilder<GithubOauth2ProviderConfigOutput.Builder,GithubOauth2ProviderConfigOutput>
-
Method Summary
Modifier and TypeMethodDescriptionoauthDiscovery
(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the GitHub provider.oauthDiscovery
(Oauth2Discovery oauthDiscovery) The OAuth2 discovery information for the GitHub 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 GitHub provider.
- Parameters:
oauthDiscovery
- The OAuth2 discovery information for the GitHub provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauthDiscovery
default GithubOauth2ProviderConfigOutput.Builder oauthDiscovery(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the GitHub 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:
-