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) ACreateConnectionOAuthClientRequestParametersobject that contains the client parameters for OAuth authorization.clientParameters(CreateConnectionOAuthClientRequestParameters clientParameters) ACreateConnectionOAuthClientRequestParametersobject 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) AConnectionHttpParametersobject that contains details about the additional parameters to use for the connection.oAuthHttpParameters(ConnectionHttpParameters oAuthHttpParameters) AConnectionHttpParametersobject that contains details about the additional parameters to use for the connection.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, sdkFields
-
Method Details
-
clientParameters
CreateConnectionOAuthRequestParameters.Builder clientParameters(CreateConnectionOAuthClientRequestParameters clientParameters) A
CreateConnectionOAuthClientRequestParametersobject that contains the client parameters for OAuth authorization.- Parameters:
clientParameters- ACreateConnectionOAuthClientRequestParametersobject 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 theCreateConnectionOAuthClientRequestParametersobject that contains the client parameters for OAuth authorization.CreateConnectionOAuthClientRequestParameters.Builderavoiding the need to create one manually viaCreateConnectionOAuthClientRequestParameters.builder().When the
Consumercompletes,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
ConnectionHttpParametersobject that contains details about the additional parameters to use for the connection.- Parameters:
oAuthHttpParameters- AConnectionHttpParametersobject 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 theConnectionHttpParametersobject that contains details about the additional parameters to use for the connection.ConnectionHttpParameters.Builderavoiding the need to create one manually viaConnectionHttpParameters.builder().When the
Consumercompletes,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:
-