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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AuthenticationMethodItem.BuilderauthenticationMethod(Consumer<AuthenticationMethod.Builder> authenticationMethod)A structure that describes an authentication method.AuthenticationMethodItem.BuilderauthenticationMethod(AuthenticationMethod authenticationMethod)A structure that describes an authentication method.AuthenticationMethodItem.BuilderauthenticationMethodType(String authenticationMethodType)The type of authentication that is used by this method.AuthenticationMethodItem.BuilderauthenticationMethodType(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 Detail
-
authenticationMethod
AuthenticationMethodItem.Builder authenticationMethod(AuthenticationMethod 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:
authenticationMethod(AuthenticationMethod)
-
authenticationMethodType
AuthenticationMethodItem.Builder authenticationMethodType(String 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,AuthenticationMethodType
-
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:
AuthenticationMethodType,AuthenticationMethodType
-
-