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
authenticationMetadata
(Consumer<AuthenticationMetadata.Builder> authenticationMetadata) The authentication metadata containing the specific configuration for the chosen authentication type.authenticationMetadata
(AuthenticationMetadata authenticationMetadata) The authentication metadata containing the specific configuration for the chosen authentication type.authenticationType
(String authenticationType) The type of authentication method.authenticationType
(ConnectionAuthType authenticationType) The type of authentication method.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
-
authenticationType
The type of authentication method.
- Parameters:
authenticationType
- The type of authentication method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The type of authentication method.
- Parameters:
authenticationType
- The type of authentication method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationMetadata
The authentication metadata containing the specific configuration for the chosen authentication type.
- Parameters:
authenticationMetadata
- The authentication metadata containing the specific configuration for the chosen authentication type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationMetadata
default AuthConfig.Builder authenticationMetadata(Consumer<AuthenticationMetadata.Builder> authenticationMetadata) The authentication metadata containing the specific configuration for the chosen authentication type.
This is a convenience method that creates an instance of theAuthenticationMetadata.Builder
avoiding the need to create one manually viaAuthenticationMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationMetadata(AuthenticationMetadata)
.- Parameters:
authenticationMetadata
- a consumer that will call methods onAuthenticationMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-