Interface SAPODataConnectorProfileCredentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SAPODataConnectorProfileCredentials.Builder,
,SAPODataConnectorProfileCredentials> SdkBuilder<SAPODataConnectorProfileCredentials.Builder,
,SAPODataConnectorProfileCredentials> SdkPojo
- Enclosing class:
SAPODataConnectorProfileCredentials
public static interface SAPODataConnectorProfileCredentials.Builder
extends SdkPojo, CopyableBuilder<SAPODataConnectorProfileCredentials.Builder,SAPODataConnectorProfileCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionbasicAuthCredentials
(Consumer<BasicAuthCredentials.Builder> basicAuthCredentials) The SAPOData basic authentication credentials.basicAuthCredentials
(BasicAuthCredentials basicAuthCredentials) The SAPOData basic authentication credentials.oAuthCredentials
(Consumer<OAuthCredentials.Builder> oAuthCredentials) The SAPOData OAuth type authentication credentials.oAuthCredentials
(OAuthCredentials oAuthCredentials) The SAPOData OAuth type authentication credentials.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
-
basicAuthCredentials
SAPODataConnectorProfileCredentials.Builder basicAuthCredentials(BasicAuthCredentials basicAuthCredentials) The SAPOData basic authentication credentials.
- Parameters:
basicAuthCredentials
- The SAPOData basic authentication credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthCredentials
default SAPODataConnectorProfileCredentials.Builder basicAuthCredentials(Consumer<BasicAuthCredentials.Builder> basicAuthCredentials) The SAPOData basic authentication credentials.
This is a convenience method that creates an instance of theBasicAuthCredentials.Builder
avoiding the need to create one manually viaBasicAuthCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobasicAuthCredentials(BasicAuthCredentials)
.- Parameters:
basicAuthCredentials
- a consumer that will call methods onBasicAuthCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuthCredentials
The SAPOData OAuth type authentication credentials.
- Parameters:
oAuthCredentials
- The SAPOData OAuth type authentication credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthCredentials
default SAPODataConnectorProfileCredentials.Builder oAuthCredentials(Consumer<OAuthCredentials.Builder> oAuthCredentials) The SAPOData OAuth type authentication credentials.
This is a convenience method that creates an instance of theOAuthCredentials.Builder
avoiding the need to create one manually viaOAuthCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuthCredentials(OAuthCredentials)
.- Parameters:
oAuthCredentials
- a consumer that will call methods onOAuthCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-