Interface OAuth2PropertiesInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OAuth2PropertiesInput.Builder,,OAuth2PropertiesInput> SdkBuilder<OAuth2PropertiesInput.Builder,,OAuth2PropertiesInput> SdkPojo
- Enclosing class:
OAuth2PropertiesInput
-
Method Summary
Modifier and TypeMethodDescriptiondefault OAuth2PropertiesInput.BuilderauthorizationCodeProperties(Consumer<AuthorizationCodeProperties.Builder> authorizationCodeProperties) The set of properties required for the the OAuth2AUTHORIZATION_CODEgrant type.authorizationCodeProperties(AuthorizationCodeProperties authorizationCodeProperties) The set of properties required for the the OAuth2AUTHORIZATION_CODEgrant type.default OAuth2PropertiesInput.BuilderoAuth2ClientApplication(Consumer<OAuth2ClientApplication.Builder> oAuth2ClientApplication) The client application type in the CreateConnection request.oAuth2ClientApplication(OAuth2ClientApplication oAuth2ClientApplication) The client application type in the CreateConnection request.default OAuth2PropertiesInput.BuilderoAuth2Credentials(Consumer<OAuth2Credentials.Builder> oAuth2Credentials) The credentials used when the authentication type is OAuth2 authentication.oAuth2Credentials(OAuth2Credentials oAuth2Credentials) The credentials used when the authentication type is OAuth2 authentication.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 tokenGETrequest.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
-
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_MANAGEDorUSER_MANAGED.- Parameters:
oAuth2ClientApplication- The client application type in the CreateConnection request. For example,AWS_MANAGEDorUSER_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_MANAGEDorUSER_MANAGED.OAuth2ClientApplication.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:
-
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
GETrequest.- Parameters:
tokenUrlParametersMap- A map of parameters that are added to the tokenGETrequest.- 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_CODEgrant type.- Parameters:
authorizationCodeProperties- The set of properties required for the the OAuth2AUTHORIZATION_CODEgrant 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_CODEgrant type.AuthorizationCodeProperties.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:
-
oAuth2Credentials
The credentials used when the authentication type is OAuth2 authentication.
- Parameters:
oAuth2Credentials- The credentials used when the authentication type is OAuth2 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Credentials
default OAuth2PropertiesInput.Builder oAuth2Credentials(Consumer<OAuth2Credentials.Builder> oAuth2Credentials) The credentials used when the authentication type is OAuth2 authentication.
This is a convenience method that creates an instance of theOAuth2Credentials.Builderavoiding the need to create one manually viaOAuth2Credentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth2Credentials(OAuth2Credentials).- Parameters:
oAuth2Credentials- a consumer that will call methods onOAuth2Credentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-