Interface OAuth2PropertiesInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OAuth2PropertiesInput.Builder,
,OAuth2PropertiesInput> SdkBuilder<OAuth2PropertiesInput.Builder,
,OAuth2PropertiesInput> SdkPojo
- Enclosing class:
OAuth2PropertiesInput
-
Method Summary
Modifier and TypeMethodDescriptiondefault OAuth2PropertiesInput.Builder
authorizationCodeProperties
(Consumer<AuthorizationCodeProperties.Builder> authorizationCodeProperties) The set of properties required for the the OAuth2AUTHORIZATION_CODE
grant type.authorizationCodeProperties
(AuthorizationCodeProperties authorizationCodeProperties) The set of properties required for the the OAuth2AUTHORIZATION_CODE
grant type.default OAuth2PropertiesInput.Builder
oAuth2ClientApplication
(Consumer<OAuth2ClientApplication.Builder> oAuth2ClientApplication) The client application type in the CreateConnection request.oAuth2ClientApplication
(OAuth2ClientApplication oAuth2ClientApplication) The client application type in the CreateConnection request.oAuth2GrantType
(String oAuth2GrantType) The OAuth2 grant type in the CreateConnection request.oAuth2GrantType
(OAuth2GrantType oAuth2GrantType) The OAuth2 grant type in the CreateConnection request.The URL of the provider's authentication server, to exchange an authorization code for an access token.tokenUrlParametersMap
(Map<String, String> tokenUrlParametersMap) A map of parameters that are added to the tokenGET
request.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 Details
-
oAuth2GrantType
The OAuth2 grant type in the CreateConnection request. For example,
AUTHORIZATION_CODE
,JWT_BEARER
, orCLIENT_CREDENTIALS
.- Parameters:
oAuth2GrantType
- The OAuth2 grant type in the CreateConnection request. For example,AUTHORIZATION_CODE
,JWT_BEARER
, orCLIENT_CREDENTIALS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2GrantType
The OAuth2 grant type in the CreateConnection request. For example,
AUTHORIZATION_CODE
,JWT_BEARER
, orCLIENT_CREDENTIALS
.- Parameters:
oAuth2GrantType
- The OAuth2 grant type in the CreateConnection request. For example,AUTHORIZATION_CODE
,JWT_BEARER
, orCLIENT_CREDENTIALS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2ClientApplication
OAuth2PropertiesInput.Builder oAuth2ClientApplication(OAuth2ClientApplication oAuth2ClientApplication) The client application type in the CreateConnection request. For example,
AWS_MANAGED
orUSER_MANAGED
.- Parameters:
oAuth2ClientApplication
- The client application type in the CreateConnection request. For example,AWS_MANAGED
orUSER_MANAGED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2ClientApplication
default OAuth2PropertiesInput.Builder oAuth2ClientApplication(Consumer<OAuth2ClientApplication.Builder> oAuth2ClientApplication) The client application type in the CreateConnection request. For example,
This is a convenience method that creates an instance of theAWS_MANAGED
orUSER_MANAGED
.OAuth2ClientApplication.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:
-
tokenUrl
The URL of the provider's authentication server, to exchange an authorization code for an access token.
- Parameters:
tokenUrl
- The URL of the provider's authentication server, to exchange an authorization code for an access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenUrlParametersMap
A map of parameters that are added to the token
GET
request.- Parameters:
tokenUrlParametersMap
- A map of parameters that are added to the tokenGET
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeProperties
OAuth2PropertiesInput.Builder authorizationCodeProperties(AuthorizationCodeProperties authorizationCodeProperties) The set of properties required for the the OAuth2
AUTHORIZATION_CODE
grant type.- Parameters:
authorizationCodeProperties
- The set of properties required for the the OAuth2AUTHORIZATION_CODE
grant type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeProperties
default OAuth2PropertiesInput.Builder authorizationCodeProperties(Consumer<AuthorizationCodeProperties.Builder> authorizationCodeProperties) The set of properties required for the the OAuth2
This is a convenience method that creates an instance of theAUTHORIZATION_CODE
grant type.AuthorizationCodeProperties.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:
-