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