Interface ConnectionAuthResponseParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectionAuthResponseParameters.Builder,
,ConnectionAuthResponseParameters> SdkBuilder<ConnectionAuthResponseParameters.Builder,
,ConnectionAuthResponseParameters> SdkPojo
- Enclosing class:
ConnectionAuthResponseParameters
-
Method Summary
Modifier and TypeMethodDescriptionapiKeyAuthParameters
(Consumer<ConnectionApiKeyAuthResponseParameters.Builder> apiKeyAuthParameters) The API Key parameters to use for authorization.apiKeyAuthParameters
(ConnectionApiKeyAuthResponseParameters apiKeyAuthParameters) The API Key parameters to use for authorization.basicAuthParameters
(Consumer<ConnectionBasicAuthResponseParameters.Builder> basicAuthParameters) The authorization parameters for Basic authorization.basicAuthParameters
(ConnectionBasicAuthResponseParameters basicAuthParameters) The authorization parameters for Basic authorization.invocationHttpParameters
(Consumer<ConnectionHttpParameters.Builder> invocationHttpParameters) Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.invocationHttpParameters
(ConnectionHttpParameters invocationHttpParameters) Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.oAuthParameters
(Consumer<ConnectionOAuthResponseParameters.Builder> oAuthParameters) The OAuth parameters to use for authorization.oAuthParameters
(ConnectionOAuthResponseParameters oAuthParameters) The OAuth parameters to use for authorization.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
-
basicAuthParameters
ConnectionAuthResponseParameters.Builder basicAuthParameters(ConnectionBasicAuthResponseParameters basicAuthParameters) The authorization parameters for Basic authorization.
- Parameters:
basicAuthParameters
- The authorization parameters for Basic authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthParameters
default ConnectionAuthResponseParameters.Builder basicAuthParameters(Consumer<ConnectionBasicAuthResponseParameters.Builder> basicAuthParameters) The authorization parameters for Basic authorization.
This is a convenience method that creates an instance of theConnectionBasicAuthResponseParameters.Builder
avoiding the need to create one manually viaConnectionBasicAuthResponseParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobasicAuthParameters(ConnectionBasicAuthResponseParameters)
.- Parameters:
basicAuthParameters
- a consumer that will call methods onConnectionBasicAuthResponseParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuthParameters
ConnectionAuthResponseParameters.Builder oAuthParameters(ConnectionOAuthResponseParameters oAuthParameters) The OAuth parameters to use for authorization.
- Parameters:
oAuthParameters
- The OAuth parameters to use for authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthParameters
default ConnectionAuthResponseParameters.Builder oAuthParameters(Consumer<ConnectionOAuthResponseParameters.Builder> oAuthParameters) The OAuth parameters to use for authorization.
This is a convenience method that creates an instance of theConnectionOAuthResponseParameters.Builder
avoiding the need to create one manually viaConnectionOAuthResponseParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuthParameters(ConnectionOAuthResponseParameters)
.- Parameters:
oAuthParameters
- a consumer that will call methods onConnectionOAuthResponseParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiKeyAuthParameters
ConnectionAuthResponseParameters.Builder apiKeyAuthParameters(ConnectionApiKeyAuthResponseParameters apiKeyAuthParameters) The API Key parameters to use for authorization.
- Parameters:
apiKeyAuthParameters
- The API Key parameters to use for authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeyAuthParameters
default ConnectionAuthResponseParameters.Builder apiKeyAuthParameters(Consumer<ConnectionApiKeyAuthResponseParameters.Builder> apiKeyAuthParameters) The API Key parameters to use for authorization.
This is a convenience method that creates an instance of theConnectionApiKeyAuthResponseParameters.Builder
avoiding the need to create one manually viaConnectionApiKeyAuthResponseParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiKeyAuthParameters(ConnectionApiKeyAuthResponseParameters)
.- Parameters:
apiKeyAuthParameters
- a consumer that will call methods onConnectionApiKeyAuthResponseParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invocationHttpParameters
ConnectionAuthResponseParameters.Builder invocationHttpParameters(ConnectionHttpParameters invocationHttpParameters) Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
- Parameters:
invocationHttpParameters
- Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationHttpParameters
default ConnectionAuthResponseParameters.Builder invocationHttpParameters(Consumer<ConnectionHttpParameters.Builder> invocationHttpParameters) Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
This is a convenience method that creates an instance of theConnectionHttpParameters.Builder
avoiding the need to create one manually viaConnectionHttpParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvocationHttpParameters(ConnectionHttpParameters)
.- Parameters:
invocationHttpParameters
- 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:
-