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