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