Interface ConnectorOAuth2Properties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorOAuth2Properties.Builder,,ConnectorOAuth2Properties> SdkBuilder<ConnectorOAuth2Properties.Builder,,ConnectorOAuth2Properties> SdkPojo
- Enclosing class:
ConnectorOAuth2Properties
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationCodeProperties(Consumer<ConnectorAuthorizationCodeProperties.Builder> authorizationCodeProperties) Configuration properties specific to the OAuth2 Authorization Code grant type flow.authorizationCodeProperties(ConnectorAuthorizationCodeProperties authorizationCodeProperties) Configuration properties specific to the OAuth2 Authorization Code grant type flow.clientCredentialsProperties(Consumer<ClientCredentialsProperties.Builder> clientCredentialsProperties) Configuration properties specific to the OAuth2 Client Credentials grant type flow.clientCredentialsProperties(ClientCredentialsProperties clientCredentialsProperties) Configuration properties specific to the OAuth2 Client Credentials grant type flow.jwtBearerProperties(Consumer<JWTBearerProperties.Builder> jwtBearerProperties) Configuration properties specific to the OAuth2 JWT Bearer grant type flow.jwtBearerProperties(JWTBearerProperties jwtBearerProperties) Configuration properties specific to the OAuth2 JWT Bearer grant type flow.oAuth2GrantType(String oAuth2GrantType) The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.oAuth2GrantType(ConnectorOAuth2GrantType oAuth2GrantType) The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.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 to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.
- Parameters:
oAuth2GrantType- The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2GrantType
The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.
- Parameters:
oAuth2GrantType- The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsProperties
ConnectorOAuth2Properties.Builder clientCredentialsProperties(ClientCredentialsProperties clientCredentialsProperties) Configuration properties specific to the OAuth2 Client Credentials grant type flow.
- Parameters:
clientCredentialsProperties- Configuration properties specific to the OAuth2 Client Credentials grant type flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCredentialsProperties
default ConnectorOAuth2Properties.Builder clientCredentialsProperties(Consumer<ClientCredentialsProperties.Builder> clientCredentialsProperties) Configuration properties specific to the OAuth2 Client Credentials grant type flow.
This is a convenience method that creates an instance of theClientCredentialsProperties.Builderavoiding the need to create one manually viaClientCredentialsProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientCredentialsProperties(ClientCredentialsProperties).- Parameters:
clientCredentialsProperties- a consumer that will call methods onClientCredentialsProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jwtBearerProperties
Configuration properties specific to the OAuth2 JWT Bearer grant type flow.
- Parameters:
jwtBearerProperties- Configuration properties specific to the OAuth2 JWT Bearer grant type flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jwtBearerProperties
default ConnectorOAuth2Properties.Builder jwtBearerProperties(Consumer<JWTBearerProperties.Builder> jwtBearerProperties) Configuration properties specific to the OAuth2 JWT Bearer grant type flow.
This is a convenience method that creates an instance of theJWTBearerProperties.Builderavoiding the need to create one manually viaJWTBearerProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojwtBearerProperties(JWTBearerProperties).- Parameters:
jwtBearerProperties- a consumer that will call methods onJWTBearerProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationCodeProperties
ConnectorOAuth2Properties.Builder authorizationCodeProperties(ConnectorAuthorizationCodeProperties authorizationCodeProperties) Configuration properties specific to the OAuth2 Authorization Code grant type flow.
- Parameters:
authorizationCodeProperties- Configuration properties specific to the OAuth2 Authorization Code grant type flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeProperties
default ConnectorOAuth2Properties.Builder authorizationCodeProperties(Consumer<ConnectorAuthorizationCodeProperties.Builder> authorizationCodeProperties) Configuration properties specific to the OAuth2 Authorization Code grant type flow.
This is a convenience method that creates an instance of theConnectorAuthorizationCodeProperties.Builderavoiding the need to create one manually viaConnectorAuthorizationCodeProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationCodeProperties(ConnectorAuthorizationCodeProperties).- Parameters:
authorizationCodeProperties- a consumer that will call methods onConnectorAuthorizationCodeProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-