public static interface UpdateConnectionOAuthRequestParameters.Builder extends SdkPojo, CopyableBuilder<UpdateConnectionOAuthRequestParameters.Builder,UpdateConnectionOAuthRequestParameters>
Modifier and Type | Method and Description |
---|---|
UpdateConnectionOAuthRequestParameters.Builder |
authorizationEndpoint(String authorizationEndpoint)
The URL to the authorization endpoint when OAuth is specified as the authorization type.
|
default UpdateConnectionOAuthRequestParameters.Builder |
clientParameters(Consumer<UpdateConnectionOAuthClientRequestParameters.Builder> clientParameters)
A
UpdateConnectionOAuthClientRequestParameters object that contains the client parameters to use
for the connection when OAuth is specified as the authorization type. |
UpdateConnectionOAuthRequestParameters.Builder |
clientParameters(UpdateConnectionOAuthClientRequestParameters clientParameters)
A
UpdateConnectionOAuthClientRequestParameters object that contains the client parameters to use
for the connection when OAuth is specified as the authorization type. |
UpdateConnectionOAuthRequestParameters.Builder |
httpMethod(ConnectionOAuthHttpMethod httpMethod)
The method used to connect to the HTTP endpoint.
|
UpdateConnectionOAuthRequestParameters.Builder |
httpMethod(String httpMethod)
The method used to connect to the HTTP endpoint.
|
UpdateConnectionOAuthRequestParameters.Builder |
oAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters)
The additional HTTP parameters used for the OAuth authorization request.
|
default UpdateConnectionOAuthRequestParameters.Builder |
oAuthHttpParameters(Consumer<ConnectionHttpParameters.Builder> oAuthHttpParameters)
The additional HTTP parameters used for the OAuth authorization request.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateConnectionOAuthRequestParameters.Builder clientParameters(UpdateConnectionOAuthClientRequestParameters clientParameters)
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use
for the connection when OAuth is specified as the authorization type.
clientParameters
- A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters
to use for the connection when OAuth is specified as the authorization type.default UpdateConnectionOAuthRequestParameters.Builder clientParameters(Consumer<UpdateConnectionOAuthClientRequestParameters.Builder> clientParameters)
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use
for the connection when OAuth is specified as the authorization type.
UpdateConnectionOAuthClientRequestParameters.Builder
avoiding the need to create one manually via
UpdateConnectionOAuthClientRequestParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to
clientParameters(UpdateConnectionOAuthClientRequestParameters)
.clientParameters
- a consumer that will call methods on UpdateConnectionOAuthClientRequestParameters.Builder
clientParameters(UpdateConnectionOAuthClientRequestParameters)
UpdateConnectionOAuthRequestParameters.Builder authorizationEndpoint(String authorizationEndpoint)
The URL to the authorization endpoint when OAuth is specified as the authorization type.
authorizationEndpoint
- The URL to the authorization endpoint when OAuth is specified as the authorization type.UpdateConnectionOAuthRequestParameters.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
UpdateConnectionOAuthRequestParameters.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
UpdateConnectionOAuthRequestParameters.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 UpdateConnectionOAuthRequestParameters.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.