Interface ConnectionOAuthResponseParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionOAuthResponseParameters.Builder,ConnectionOAuthResponseParameters>,SdkBuilder<ConnectionOAuthResponseParameters.Builder,ConnectionOAuthResponseParameters>,SdkPojo
- Enclosing class:
- ConnectionOAuthResponseParameters
public static interface ConnectionOAuthResponseParameters.Builder extends SdkPojo, CopyableBuilder<ConnectionOAuthResponseParameters.Builder,ConnectionOAuthResponseParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConnectionOAuthResponseParameters.BuilderauthorizationEndpoint(String authorizationEndpoint)The URL to the HTTP endpoint that authorized the request.default ConnectionOAuthResponseParameters.BuilderclientParameters(Consumer<ConnectionOAuthClientResponseParameters.Builder> clientParameters)AConnectionOAuthClientResponseParametersobject that contains details about the client parameters returned when OAuth is specified as the authorization type.ConnectionOAuthResponseParameters.BuilderclientParameters(ConnectionOAuthClientResponseParameters clientParameters)AConnectionOAuthClientResponseParametersobject that contains details about the client parameters returned when OAuth is specified as the authorization type.ConnectionOAuthResponseParameters.BuilderhttpMethod(String httpMethod)The method used to connect to the HTTP endpoint.ConnectionOAuthResponseParameters.BuilderhttpMethod(ConnectionOAuthHttpMethod httpMethod)The method used to connect to the HTTP endpoint.default ConnectionOAuthResponseParameters.BuilderoAuthHttpParameters(Consumer<ConnectionHttpParameters.Builder> oAuthHttpParameters)The additional HTTP parameters used for the OAuth authorization request.ConnectionOAuthResponseParameters.BuilderoAuthHttpParameters(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 Detail
-
clientParameters
ConnectionOAuthResponseParameters.Builder clientParameters(ConnectionOAuthClientResponseParameters clientParameters)
A
ConnectionOAuthClientResponseParametersobject that contains details about the client parameters returned when OAuth is specified as the authorization type.- Parameters:
clientParameters- AConnectionOAuthClientResponseParametersobject 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 theConnectionOAuthClientResponseParametersobject that contains details about the client parameters returned when OAuth is specified as the authorization type.ConnectionOAuthClientResponseParameters.Builderavoiding the need to create one manually viaConnectionOAuthClientResponseParameters.builder().When the
Consumercompletes,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:
clientParameters(ConnectionOAuthClientResponseParameters)
-
authorizationEndpoint
ConnectionOAuthResponseParameters.Builder authorizationEndpoint(String 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
ConnectionOAuthResponseParameters.Builder httpMethod(String 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:
ConnectionOAuthHttpMethod,ConnectionOAuthHttpMethod
-
httpMethod
ConnectionOAuthResponseParameters.Builder httpMethod(ConnectionOAuthHttpMethod 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:
ConnectionOAuthHttpMethod,ConnectionOAuthHttpMethod
-
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.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:
oAuthHttpParameters(ConnectionHttpParameters)
-
-