Interface ConnectorOAuth2Properties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorOAuth2Properties.Builder,ConnectorOAuth2Properties>,SdkBuilder<ConnectorOAuth2Properties.Builder,ConnectorOAuth2Properties>,SdkPojo
- Enclosing class:
- ConnectorOAuth2Properties
@Mutable @NotThreadSafe public static interface ConnectorOAuth2Properties.Builder extends SdkPojo, CopyableBuilder<ConnectorOAuth2Properties.Builder,ConnectorOAuth2Properties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConnectorOAuth2Properties.BuilderauthorizationCodeProperties(Consumer<ConnectorAuthorizationCodeProperties.Builder> authorizationCodeProperties)Configuration properties specific to the OAuth2 Authorization Code grant type flow.ConnectorOAuth2Properties.BuilderauthorizationCodeProperties(ConnectorAuthorizationCodeProperties authorizationCodeProperties)Configuration properties specific to the OAuth2 Authorization Code grant type flow.default ConnectorOAuth2Properties.BuilderclientCredentialsProperties(Consumer<ClientCredentialsProperties.Builder> clientCredentialsProperties)Configuration properties specific to the OAuth2 Client Credentials grant type flow.ConnectorOAuth2Properties.BuilderclientCredentialsProperties(ClientCredentialsProperties clientCredentialsProperties)Configuration properties specific to the OAuth2 Client Credentials grant type flow.default ConnectorOAuth2Properties.BuilderjwtBearerProperties(Consumer<JWTBearerProperties.Builder> jwtBearerProperties)Configuration properties specific to the OAuth2 JWT Bearer grant type flow.ConnectorOAuth2Properties.BuilderjwtBearerProperties(JWTBearerProperties jwtBearerProperties)Configuration properties specific to the OAuth2 JWT Bearer grant type flow.ConnectorOAuth2Properties.BuilderoAuth2GrantType(String oAuth2GrantType)The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.ConnectorOAuth2Properties.BuilderoAuth2GrantType(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
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
-
oAuth2GrantType
ConnectorOAuth2Properties.Builder oAuth2GrantType(String 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:
ConnectorOAuth2GrantType,ConnectorOAuth2GrantType
-
oAuth2GrantType
ConnectorOAuth2Properties.Builder oAuth2GrantType(ConnectorOAuth2GrantType 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:
ConnectorOAuth2GrantType,ConnectorOAuth2GrantType
-
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:
clientCredentialsProperties(ClientCredentialsProperties)
-
jwtBearerProperties
ConnectorOAuth2Properties.Builder jwtBearerProperties(JWTBearerProperties 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:
jwtBearerProperties(JWTBearerProperties)
-
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:
authorizationCodeProperties(ConnectorAuthorizationCodeProperties)
-
-