public static interface ConnectionOAuthResponseParameters.Builder extends SdkPojo, CopyableBuilder<ConnectionOAuthResponseParameters.Builder,ConnectionOAuthResponseParameters>
Modifier and Type | Method and Description |
---|---|
ConnectionOAuthResponseParameters.Builder |
authorizationEndpoint(String authorizationEndpoint)
The URL to the HTTP endpoint that authorized the request.
|
ConnectionOAuthResponseParameters.Builder |
clientParameters(ConnectionOAuthClientResponseParameters clientParameters)
A
ConnectionOAuthClientResponseParameters object that contains details about the client
parameters returned when OAuth is specified as the authorization type. |
default ConnectionOAuthResponseParameters.Builder |
clientParameters(Consumer<ConnectionOAuthClientResponseParameters.Builder> clientParameters)
A
ConnectionOAuthClientResponseParameters object that contains details about the client
parameters returned when OAuth is specified as the authorization type. |
ConnectionOAuthResponseParameters.Builder |
httpMethod(ConnectionOAuthHttpMethod httpMethod)
The method used to connect to the HTTP endpoint.
|
ConnectionOAuthResponseParameters.Builder |
httpMethod(String httpMethod)
The method used to connect to the HTTP endpoint.
|
ConnectionOAuthResponseParameters.Builder |
oAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters)
The additional HTTP parameters used for the OAuth authorization request.
|
default ConnectionOAuthResponseParameters.Builder |
oAuthHttpParameters(Consumer<ConnectionHttpParameters.Builder> oAuthHttpParameters)
The additional HTTP parameters used for the OAuth authorization request.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ConnectionOAuthResponseParameters.Builder clientParameters(ConnectionOAuthClientResponseParameters clientParameters)
A ConnectionOAuthClientResponseParameters
object that contains details about the client
parameters returned when OAuth is specified as the authorization type.
clientParameters
- A ConnectionOAuthClientResponseParameters
object that contains details about the client
parameters returned when OAuth is specified as the authorization type.default ConnectionOAuthResponseParameters.Builder clientParameters(Consumer<ConnectionOAuthClientResponseParameters.Builder> clientParameters)
A ConnectionOAuthClientResponseParameters
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 via ConnectionOAuthClientResponseParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to
clientParameters(ConnectionOAuthClientResponseParameters)
.clientParameters
- a consumer that will call methods on ConnectionOAuthClientResponseParameters.Builder
clientParameters(ConnectionOAuthClientResponseParameters)
ConnectionOAuthResponseParameters.Builder authorizationEndpoint(String authorizationEndpoint)
The URL to the HTTP endpoint that authorized the request.
authorizationEndpoint
- The URL to the HTTP endpoint that authorized the request.ConnectionOAuthResponseParameters.Builder httpMethod(String httpMethod)
The method used to connect to the HTTP endpoint.
httpMethod
- The method used to connect to the HTTP endpoint.ConnectionOAuthHttpMethod
,
ConnectionOAuthHttpMethod
ConnectionOAuthResponseParameters.Builder httpMethod(ConnectionOAuthHttpMethod httpMethod)
The method used to connect to the HTTP endpoint.
httpMethod
- The method used to connect to the HTTP endpoint.ConnectionOAuthHttpMethod
,
ConnectionOAuthHttpMethod
ConnectionOAuthResponseParameters.Builder oAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters)
The additional HTTP parameters used for the OAuth authorization request.
oAuthHttpParameters
- The additional HTTP parameters used for the OAuth authorization request.default ConnectionOAuthResponseParameters.Builder oAuthHttpParameters(Consumer<ConnectionHttpParameters.Builder> oAuthHttpParameters)
The additional HTTP parameters used for the OAuth authorization request.
This is a convenience that creates an instance of theConnectionHttpParameters.Builder
avoiding the
need to create one manually via ConnectionHttpParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to oAuthHttpParameters(ConnectionHttpParameters)
.oAuthHttpParameters
- a consumer that will call methods on ConnectionHttpParameters.Builder
oAuthHttpParameters(ConnectionHttpParameters)
Copyright © 2022. All rights reserved.