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 TypeMethodDescriptiongeneralAuthorization(Collection<AuthMaterial> generalAuthorization) The authorization materials for General Authorization.generalAuthorization(Consumer<AuthMaterial.Builder>... generalAuthorization) The authorization materials for General Authorization.generalAuthorization(AuthMaterial... generalAuthorization) The authorization materials for General Authorization.default 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:
-
generalAuthorization
The authorization materials for General Authorization.
- Parameters:
generalAuthorization- The authorization materials for General Authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generalAuthorization
The authorization materials for General Authorization.
- Parameters:
generalAuthorization- The authorization materials for General Authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generalAuthorization
The authorization materials for General Authorization.
This is a convenience method that creates an instance of theAuthMaterial.Builderavoiding the need to create one manually viaAuthMaterial.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeneralAuthorization(List<AuthMaterial>).- Parameters:
generalAuthorization- a consumer that will call methods onAuthMaterial.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-