Interface OAuth2Properties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OAuth2Properties.Builder,
,OAuth2Properties> SdkBuilder<OAuth2Properties.Builder,
,OAuth2Properties> SdkPojo
- Enclosing class:
OAuth2Properties
-
Method Summary
Modifier and TypeMethodDescriptiondefault OAuth2Properties.Builder
authorizationCodeProperties
(Consumer<AuthorizationCodeProperties.Builder> authorizationCodeProperties) The authorization code properties of the OAuth2 properties.authorizationCodeProperties
(AuthorizationCodeProperties authorizationCodeProperties) The authorization code properties of the OAuth2 properties.default OAuth2Properties.Builder
oAuth2ClientApplication
(Consumer<OAuth2ClientApplication.Builder> oAuth2ClientApplication) The OAuth2 client application of the OAuth2 properties.oAuth2ClientApplication
(OAuth2ClientApplication oAuth2ClientApplication) The OAuth2 client application of the OAuth2 properties.default OAuth2Properties.Builder
oAuth2Credentials
(Consumer<GlueOAuth2Credentials.Builder> oAuth2Credentials) The OAuth2 credentials of the OAuth2 properties.oAuth2Credentials
(GlueOAuth2Credentials oAuth2Credentials) The OAuth2 credentials of the OAuth2 properties.oAuth2GrantType
(String oAuth2GrantType) The OAuth2 grant type of the OAuth2 properties.oAuth2GrantType
(OAuth2GrantType oAuth2GrantType) The OAuth2 grant type of the OAuth2 properties.The OAuth2 token URL of the OAuth2 properties.tokenUrlParametersMap
(Map<String, String> tokenUrlParametersMap) The OAuth2 token URL parameter map of the OAuth2 properties.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
-
authorizationCodeProperties
OAuth2Properties.Builder authorizationCodeProperties(AuthorizationCodeProperties authorizationCodeProperties) The authorization code properties of the OAuth2 properties.
- Parameters:
authorizationCodeProperties
- The authorization code properties of the OAuth2 properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeProperties
default OAuth2Properties.Builder authorizationCodeProperties(Consumer<AuthorizationCodeProperties.Builder> authorizationCodeProperties) The authorization code properties of the OAuth2 properties.
This is a convenience method that creates an instance of theAuthorizationCodeProperties.Builder
avoiding the need to create one manually viaAuthorizationCodeProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorizationCodeProperties(AuthorizationCodeProperties)
.- Parameters:
authorizationCodeProperties
- a consumer that will call methods onAuthorizationCodeProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2ClientApplication
The OAuth2 client application of the OAuth2 properties.
- Parameters:
oAuth2ClientApplication
- The OAuth2 client application of the OAuth2 properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2ClientApplication
default OAuth2Properties.Builder oAuth2ClientApplication(Consumer<OAuth2ClientApplication.Builder> oAuth2ClientApplication) The OAuth2 client application of the OAuth2 properties.
This is a convenience method that creates an instance of theOAuth2ClientApplication.Builder
avoiding the need to create one manually viaOAuth2ClientApplication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuth2ClientApplication(OAuth2ClientApplication)
.- Parameters:
oAuth2ClientApplication
- a consumer that will call methods onOAuth2ClientApplication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2Credentials
The OAuth2 credentials of the OAuth2 properties.
- Parameters:
oAuth2Credentials
- The OAuth2 credentials of the OAuth2 properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Credentials
default OAuth2Properties.Builder oAuth2Credentials(Consumer<GlueOAuth2Credentials.Builder> oAuth2Credentials) The OAuth2 credentials of the OAuth2 properties.
This is a convenience method that creates an instance of theGlueOAuth2Credentials.Builder
avoiding the need to create one manually viaGlueOAuth2Credentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuth2Credentials(GlueOAuth2Credentials)
.- Parameters:
oAuth2Credentials
- a consumer that will call methods onGlueOAuth2Credentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2GrantType
The OAuth2 grant type of the OAuth2 properties.
- Parameters:
oAuth2GrantType
- The OAuth2 grant type of the OAuth2 properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2GrantType
The OAuth2 grant type of the OAuth2 properties.
- Parameters:
oAuth2GrantType
- The OAuth2 grant type of the OAuth2 properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenUrl
The OAuth2 token URL of the OAuth2 properties.
- Parameters:
tokenUrl
- The OAuth2 token URL of the OAuth2 properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenUrlParametersMap
The OAuth2 token URL parameter map of the OAuth2 properties.
- Parameters:
tokenUrlParametersMap
- The OAuth2 token URL parameter map of the OAuth2 properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-