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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
oAuthThe 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.
 
- 
oAuthThe 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 on- OAuthConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-