Interface AuthConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthConfig.Builder,
,AuthConfig> SdkBuilder<AuthConfig.Builder,
,AuthConfig> SdkPojo
- Enclosing class:
AuthConfig
@Mutable
@NotThreadSafe
public static interface AuthConfig.Builder
extends SdkPojo, CopyableBuilder<AuthConfig.Builder,AuthConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthConfig.Builder
oAuth
(Consumer<OAuthConfig.Builder> oAuth) The OAuth configuration settings used for authentication with the third-party service.oAuth
(OAuthConfig oAuth) The OAuth configuration settings used for authentication with the third-party service.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, sdkFieldNameToField, sdkFields
-
Method Details
-
oAuth
The OAuth configuration settings used for authentication with the third-party service.
- Parameters:
oAuth
- The OAuth configuration settings used for authentication with the third-party service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth
The OAuth configuration settings used for authentication with the third-party service.
This is a convenience method that creates an instance of theOAuthConfig.Builder
avoiding the need to create one manually viaOAuthConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuth(OAuthConfig)
.- Parameters:
oAuth
- a consumer that will call methods onOAuthConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-