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.BuilderoAuth(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaOAuthConfig.builder().When the
Consumercompletes,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:
-