Interface AuthenticationMethodItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationMethodItem.Builder,,AuthenticationMethodItem> SdkBuilder<AuthenticationMethodItem.Builder,,AuthenticationMethodItem> SdkPojo
- Enclosing class:
AuthenticationMethodItem
@Mutable
@NotThreadSafe
public static interface AuthenticationMethodItem.Builder
extends SdkPojo, CopyableBuilder<AuthenticationMethodItem.Builder,AuthenticationMethodItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthenticationMethodItem.BuilderauthenticationMethod(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
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
-
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:
-
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.Builderavoiding the need to create one manually viaAuthenticationMethod.builder().When the
Consumercompletes,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:
-