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 TypeMethodDescriptionThe client ID for the Slack OAuth2 provider.oauthDiscovery(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaOauth2Discovery.builder().When the
Consumercompletes,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 Slack OAuth2 provider.
- Parameters:
clientId- The client ID for the Slack OAuth2 provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-