Interface OAuth2Properties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OAuth2Properties.Builder,OAuth2Properties>,SdkBuilder<OAuth2Properties.Builder,OAuth2Properties>,SdkPojo
- Enclosing class:
- OAuth2Properties
public static interface OAuth2Properties.Builder extends SdkPojo, CopyableBuilder<OAuth2Properties.Builder,OAuth2Properties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OAuth2Properties.BuilderauthorizationCodeProperties(Consumer<AuthorizationCodeProperties.Builder> authorizationCodeProperties)The authorization code properties of the OAuth2 properties.OAuth2Properties.BuilderauthorizationCodeProperties(AuthorizationCodeProperties authorizationCodeProperties)The authorization code properties of the OAuth2 properties.default OAuth2Properties.BuilderoAuth2ClientApplication(Consumer<OAuth2ClientApplication.Builder> oAuth2ClientApplication)The OAuth2 client application of the OAuth2 properties.OAuth2Properties.BuilderoAuth2ClientApplication(OAuth2ClientApplication oAuth2ClientApplication)The OAuth2 client application of the OAuth2 properties.default OAuth2Properties.BuilderoAuth2Credentials(Consumer<GlueOAuth2Credentials.Builder> oAuth2Credentials)The OAuth2 credentials of the OAuth2 properties.OAuth2Properties.BuilderoAuth2Credentials(GlueOAuth2Credentials oAuth2Credentials)The OAuth2 credentials of the OAuth2 properties.OAuth2Properties.BuilderoAuth2GrantType(String oAuth2GrantType)The OAuth2 grant type of the OAuth2 properties.OAuth2Properties.BuilderoAuth2GrantType(OAuth2GrantType oAuth2GrantType)The OAuth2 grant type of the OAuth2 properties.OAuth2Properties.BuildertokenUrl(String tokenUrl)The OAuth2 token URL of the OAuth2 properties.OAuth2Properties.BuildertokenUrlParametersMap(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 Detail
-
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.Builderavoiding the need to create one manually viaAuthorizationCodeProperties.builder().When the
Consumercompletes,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:
authorizationCodeProperties(AuthorizationCodeProperties)
-
oAuth2ClientApplication
OAuth2Properties.Builder oAuth2ClientApplication(OAuth2ClientApplication 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.Builderavoiding the need to create one manually viaOAuth2ClientApplication.builder().When the
Consumercompletes,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:
oAuth2ClientApplication(OAuth2ClientApplication)
-
oAuth2Credentials
OAuth2Properties.Builder oAuth2Credentials(GlueOAuth2Credentials 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.Builderavoiding the need to create one manually viaGlueOAuth2Credentials.builder().When the
Consumercompletes,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:
oAuth2Credentials(GlueOAuth2Credentials)
-
oAuth2GrantType
OAuth2Properties.Builder oAuth2GrantType(String 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,OAuth2GrantType
-
oAuth2GrantType
OAuth2Properties.Builder oAuth2GrantType(OAuth2GrantType 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,OAuth2GrantType
-
tokenUrl
OAuth2Properties.Builder tokenUrl(String 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
OAuth2Properties.Builder tokenUrlParametersMap(Map<String,String> 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.
-
-