Interface JWTBearerProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JWTBearerProperties.Builder,,JWTBearerProperties> SdkBuilder<JWTBearerProperties.Builder,,JWTBearerProperties> SdkPojo
- Enclosing class:
JWTBearerProperties
-
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.contentType(ContentType contentType) The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.default JWTBearerProperties.BuilderjwtToken(Consumer<ConnectorProperty.Builder> jwtToken) The JWT token to be used in the bearer token grant flow for authentication.jwtToken(ConnectorProperty jwtToken) The JWT token to be used in the bearer token grant flow for authentication.requestMethod(String requestMethod) The HTTP method to use when making JWT bearer token requests, typically POST.requestMethod(HTTPMethod requestMethod) The HTTP method to use when making JWT bearer token requests, typically POST.default JWTBearerProperties.BuildertokenUrl(Consumer<ConnectorProperty.Builder> tokenUrl) The token endpoint URL where the JWT bearer token will be exchanged for an access token.tokenUrl(ConnectorProperty tokenUrl) The token endpoint URL where the JWT bearer token will be exchanged for an access token.tokenUrlParameters(Collection<ConnectorProperty> tokenUrlParameters) Additional parameters to include in token URL requests as key-value pairs.tokenUrlParameters(Consumer<ConnectorProperty.Builder>... tokenUrlParameters) Additional parameters to include in token URL requests as key-value pairs.tokenUrlParameters(ConnectorProperty... tokenUrlParameters) Additional parameters to include in token URL requests as key-value pairs.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
-
tokenUrl
The token endpoint URL where the JWT bearer token will be exchanged for an access token.
- Parameters:
tokenUrl- The token endpoint URL where the JWT bearer token will be exchanged for an access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenUrl
The token endpoint URL where the JWT bearer token will be exchanged for an access token.
This is a convenience method that creates an instance of theConnectorProperty.Builderavoiding the need to create one manually viaConnectorProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenUrl(ConnectorProperty).- Parameters:
tokenUrl- a consumer that will call methods onConnectorProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestMethod
The HTTP method to use when making JWT bearer token requests, typically POST.
- Parameters:
requestMethod- The HTTP method to use when making JWT bearer token requests, typically POST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestMethod
The HTTP method to use when making JWT bearer token requests, typically POST.
- Parameters:
requestMethod- The HTTP method to use when making JWT bearer token requests, typically POST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.
- Parameters:
contentType- The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.
- Parameters:
contentType- The content type to use for JWT bearer token requests, such as application/x-www-form-urlencoded or application/json.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jwtToken
The JWT token to be used in the bearer token grant flow for authentication.
- Parameters:
jwtToken- The JWT token to be used in the bearer token grant flow for authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jwtToken
The JWT token to be used in the bearer token grant flow for authentication.
This is a convenience method that creates an instance of theConnectorProperty.Builderavoiding the need to create one manually viaConnectorProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojwtToken(ConnectorProperty).- Parameters:
jwtToken- a consumer that will call methods onConnectorProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenUrlParameters
Additional parameters to include in token URL requests as key-value pairs.
- Parameters:
tokenUrlParameters- Additional parameters to include in token URL requests as key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenUrlParameters
Additional parameters to include in token URL requests as key-value pairs.
- Parameters:
tokenUrlParameters- Additional parameters to include in token URL requests as key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenUrlParameters
JWTBearerProperties.Builder tokenUrlParameters(Consumer<ConnectorProperty.Builder>... tokenUrlParameters) Additional parameters to include in token URL requests as key-value pairs.
This is a convenience method that creates an instance of theConnectorProperty.Builderavoiding the need to create one manually viaConnectorProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenUrlParameters(List<ConnectorProperty>).- Parameters:
tokenUrlParameters- a consumer that will call methods onConnectorProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-