Interface AuthenticationMethodItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthenticationMethodItem.Builder,
,AuthenticationMethodItem> SdkBuilder<AuthenticationMethodItem.Builder,
,AuthenticationMethodItem> SdkPojo
- Enclosing class:
AuthenticationMethodItem
public static interface AuthenticationMethodItem.Builder
extends SdkPojo, CopyableBuilder<AuthenticationMethodItem.Builder,AuthenticationMethodItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthenticationMethodItem.Builder
authenticationMethod
(Consumer<AuthenticationMethod.Builder> authenticationMethod) A structure that describes an authentication method.authenticationMethod
(AuthenticationMethod authenticationMethod) A structure that describes an authentication method.authenticationMethodType
(String authenticationMethodType) The type of authentication that is used by this method.authenticationMethodType
(AuthenticationMethodType authenticationMethodType) The type of authentication that is used by this 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, sdkFields
-
Method Details
-
authenticationMethod
A structure that describes an authentication method. The contents of this structure is determined by the
AuthenticationMethodType
.- Parameters:
authenticationMethod
- A structure that describes an authentication method. The contents of this structure is determined by theAuthenticationMethodType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationMethod
default AuthenticationMethodItem.Builder authenticationMethod(Consumer<AuthenticationMethod.Builder> authenticationMethod) A structure that describes an authentication method. The contents of this structure is determined by the
This is a convenience method that creates an instance of theAuthenticationMethodType
.AuthenticationMethod.Builder
avoiding the need to create one manually viaAuthenticationMethod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationMethod(AuthenticationMethod)
.- Parameters:
authenticationMethod
- a consumer that will call methods onAuthenticationMethod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationMethodType
The type of authentication that is used by this method.
- Parameters:
authenticationMethodType
- The type of authentication that is used by this method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationMethodType
AuthenticationMethodItem.Builder authenticationMethodType(AuthenticationMethodType authenticationMethodType) The type of authentication that is used by this method.
- Parameters:
authenticationMethodType
- The type of authentication that is used by this method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-