Interface OAuth2Defaults.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OAuth2Defaults.Builder,,OAuth2Defaults> SdkBuilder<OAuth2Defaults.Builder,,OAuth2Defaults> SdkPojo
- Enclosing class:
OAuth2Defaults
-
Method Summary
Modifier and TypeMethodDescriptionauthCodeUrls(String... authCodeUrls) Auth code URLs that can be used for OAuth 2.0 authentication.authCodeUrls(Collection<String> authCodeUrls) Auth code URLs that can be used for OAuth 2.0 authentication.oauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties) List of custom parameters required for OAuth 2.0 authentication.oauth2CustomProperties(Consumer<OAuth2CustomParameter.Builder>... oauth2CustomProperties) List of custom parameters required for OAuth 2.0 authentication.oauth2CustomProperties(OAuth2CustomParameter... oauth2CustomProperties) List of custom parameters required for OAuth 2.0 authentication.oauth2GrantTypesSupported(Collection<OAuth2GrantType> oauth2GrantTypesSupported) OAuth 2.0 grant types supported by the connector.oauth2GrantTypesSupported(OAuth2GrantType... oauth2GrantTypesSupported) OAuth 2.0 grant types supported by the connector.oauth2GrantTypesSupportedWithStrings(String... oauth2GrantTypesSupported) OAuth 2.0 grant types supported by the connector.oauth2GrantTypesSupportedWithStrings(Collection<String> oauth2GrantTypesSupported) OAuth 2.0 grant types supported by the connector.oauthScopes(String... oauthScopes) OAuth 2.0 scopes that the connector supports.oauthScopes(Collection<String> oauthScopes) OAuth 2.0 scopes that the connector supports.Token URLs that can be used for OAuth 2.0 authentication.tokenUrls(Collection<String> tokenUrls) Token URLs that can be used for OAuth 2.0 authentication.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
-
oauthScopes
OAuth 2.0 scopes that the connector supports.
- Parameters:
oauthScopes- OAuth 2.0 scopes that the connector supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauthScopes
OAuth 2.0 scopes that the connector supports.
- Parameters:
oauthScopes- OAuth 2.0 scopes that the connector supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenUrls
Token URLs that can be used for OAuth 2.0 authentication.
- Parameters:
tokenUrls- Token URLs that can be used for OAuth 2.0 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenUrls
Token URLs that can be used for OAuth 2.0 authentication.
- Parameters:
tokenUrls- Token URLs that can be used for OAuth 2.0 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authCodeUrls
Auth code URLs that can be used for OAuth 2.0 authentication.
- Parameters:
authCodeUrls- Auth code URLs that can be used for OAuth 2.0 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authCodeUrls
Auth code URLs that can be used for OAuth 2.0 authentication.
- Parameters:
authCodeUrls- Auth code URLs that can be used for OAuth 2.0 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2GrantTypesSupportedWithStrings
OAuth2Defaults.Builder oauth2GrantTypesSupportedWithStrings(Collection<String> oauth2GrantTypesSupported) OAuth 2.0 grant types supported by the connector.
- Parameters:
oauth2GrantTypesSupported- OAuth 2.0 grant types supported by the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2GrantTypesSupportedWithStrings
OAuth 2.0 grant types supported by the connector.
- Parameters:
oauth2GrantTypesSupported- OAuth 2.0 grant types supported by the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2GrantTypesSupported
OAuth2Defaults.Builder oauth2GrantTypesSupported(Collection<OAuth2GrantType> oauth2GrantTypesSupported) OAuth 2.0 grant types supported by the connector.
- Parameters:
oauth2GrantTypesSupported- OAuth 2.0 grant types supported by the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2GrantTypesSupported
OAuth 2.0 grant types supported by the connector.
- Parameters:
oauth2GrantTypesSupported- OAuth 2.0 grant types supported by the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2CustomProperties
OAuth2Defaults.Builder oauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties) List of custom parameters required for OAuth 2.0 authentication.
- Parameters:
oauth2CustomProperties- List of custom parameters required for OAuth 2.0 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2CustomProperties
List of custom parameters required for OAuth 2.0 authentication.
- Parameters:
oauth2CustomProperties- List of custom parameters required for OAuth 2.0 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauth2CustomProperties
OAuth2Defaults.Builder oauth2CustomProperties(Consumer<OAuth2CustomParameter.Builder>... oauth2CustomProperties) List of custom parameters required for OAuth 2.0 authentication.
This is a convenience method that creates an instance of theOAuth2CustomParameter.Builderavoiding the need to create one manually viaOAuth2CustomParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooauth2CustomProperties(List<OAuth2CustomParameter>).- Parameters:
oauth2CustomProperties- a consumer that will call methods onOAuth2CustomParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-