Interface OAuth2Defaults.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OAuth2Defaults.Builder,OAuth2Defaults>,SdkBuilder<OAuth2Defaults.Builder,OAuth2Defaults>,SdkPojo
- Enclosing class:
- OAuth2Defaults
public static interface OAuth2Defaults.Builder extends SdkPojo, CopyableBuilder<OAuth2Defaults.Builder,OAuth2Defaults>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuth2Defaults.BuilderauthCodeUrls(String... authCodeUrls)Auth code URLs that can be used for OAuth 2.0 authentication.OAuth2Defaults.BuilderauthCodeUrls(Collection<String> authCodeUrls)Auth code URLs that can be used for OAuth 2.0 authentication.OAuth2Defaults.Builderoauth2CustomProperties(Collection<OAuth2CustomParameter> oauth2CustomProperties)List of custom parameters required for OAuth 2.0 authentication.OAuth2Defaults.Builderoauth2CustomProperties(Consumer<OAuth2CustomParameter.Builder>... oauth2CustomProperties)List of custom parameters required for OAuth 2.0 authentication.OAuth2Defaults.Builderoauth2CustomProperties(OAuth2CustomParameter... oauth2CustomProperties)List of custom parameters required for OAuth 2.0 authentication.OAuth2Defaults.Builderoauth2GrantTypesSupported(Collection<OAuth2GrantType> oauth2GrantTypesSupported)OAuth 2.0 grant types supported by the connector.OAuth2Defaults.Builderoauth2GrantTypesSupported(OAuth2GrantType... oauth2GrantTypesSupported)OAuth 2.0 grant types supported by the connector.OAuth2Defaults.Builderoauth2GrantTypesSupportedWithStrings(String... oauth2GrantTypesSupported)OAuth 2.0 grant types supported by the connector.OAuth2Defaults.Builderoauth2GrantTypesSupportedWithStrings(Collection<String> oauth2GrantTypesSupported)OAuth 2.0 grant types supported by the connector.OAuth2Defaults.BuilderoauthScopes(String... oauthScopes)OAuth 2.0 scopes that the connector supports.OAuth2Defaults.BuilderoauthScopes(Collection<String> oauthScopes)OAuth 2.0 scopes that the connector supports.OAuth2Defaults.BuildertokenUrls(String... tokenUrls)Token URLs that can be used for OAuth 2.0 authentication.OAuth2Defaults.BuildertokenUrls(Collection<String> tokenUrls)Token URLs that can be used for OAuth 2.0 authentication.-
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, sdkFields
-
-
-
-
Method Detail
-
oauthScopes
OAuth2Defaults.Builder oauthScopes(Collection<String> 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
OAuth2Defaults.Builder oauthScopes(String... 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
OAuth2Defaults.Builder tokenUrls(Collection<String> 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
OAuth2Defaults.Builder tokenUrls(String... 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
OAuth2Defaults.Builder authCodeUrls(Collection<String> 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
OAuth2Defaults.Builder authCodeUrls(String... 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
OAuth2Defaults.Builder oauth2GrantTypesSupportedWithStrings(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.
-
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
OAuth2Defaults.Builder oauth2GrantTypesSupported(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.
-
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
OAuth2Defaults.Builder oauth2CustomProperties(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
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 to#oauth2CustomProperties(List.) - 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:
#oauth2CustomProperties(java.util.Collection)
-
-