Interface ConnectionOAuthResponseParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectionOAuthResponseParameters.Builder,
,ConnectionOAuthResponseParameters> SdkBuilder<ConnectionOAuthResponseParameters.Builder,
,ConnectionOAuthResponseParameters> SdkPojo
- Enclosing class:
ConnectionOAuthResponseParameters
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint
(String authorizationEndpoint) The URL to the HTTP endpoint that authorized the request.clientParameters
(Consumer<ConnectionOAuthClientResponseParameters.Builder> clientParameters) AConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.clientParameters
(ConnectionOAuthClientResponseParameters clientParameters) AConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.httpMethod
(String httpMethod) The method used to connect to the HTTP endpoint.httpMethod
(ConnectionOAuthHttpMethod httpMethod) The method used to connect to the HTTP endpoint.oAuthHttpParameters
(Consumer<ConnectionHttpParameters.Builder> oAuthHttpParameters) The additional HTTP parameters used for the OAuth authorization request.oAuthHttpParameters
(ConnectionHttpParameters oAuthHttpParameters) The additional HTTP parameters used for the OAuth authorization 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
-
clientParameters
ConnectionOAuthResponseParameters.Builder clientParameters(ConnectionOAuthClientResponseParameters clientParameters) A
ConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.- Parameters:
clientParameters
- AConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientParameters
default ConnectionOAuthResponseParameters.Builder clientParameters(Consumer<ConnectionOAuthClientResponseParameters.Builder> clientParameters) A
This is a convenience method that creates an instance of theConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.ConnectionOAuthClientResponseParameters.Builder
avoiding the need to create one manually viaConnectionOAuthClientResponseParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientParameters(ConnectionOAuthClientResponseParameters)
.- Parameters:
clientParameters
- a consumer that will call methods onConnectionOAuthClientResponseParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationEndpoint
The URL to the HTTP endpoint that authorized the request.
- Parameters:
authorizationEndpoint
- The URL to the HTTP endpoint that authorized the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpMethod
The method used to connect to the HTTP endpoint.
- Parameters:
httpMethod
- The method used to connect to the HTTP endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
httpMethod
The method used to connect to the HTTP endpoint.
- Parameters:
httpMethod
- The method used to connect to the HTTP endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuthHttpParameters
ConnectionOAuthResponseParameters.Builder oAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters) The additional HTTP parameters used for the OAuth authorization request.
- Parameters:
oAuthHttpParameters
- The additional HTTP parameters used for the OAuth authorization request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthHttpParameters
default ConnectionOAuthResponseParameters.Builder oAuthHttpParameters(Consumer<ConnectionHttpParameters.Builder> oAuthHttpParameters) The additional HTTP parameters used for the OAuth authorization request.
This is a convenience method that creates an instance of theConnectionHttpParameters.Builder
avoiding the need to create one manually viaConnectionHttpParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuthHttpParameters(ConnectionHttpParameters)
.- Parameters:
oAuthHttpParameters
- a consumer that will call methods onConnectionHttpParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-