Interface AuthenticationMethod.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthenticationMethod.Builder,AuthenticationMethod>
,SdkBuilder<AuthenticationMethod.Builder,AuthenticationMethod>
,SdkPojo
- Enclosing class:
- AuthenticationMethod
public static interface AuthenticationMethod.Builder extends SdkPojo, CopyableBuilder<AuthenticationMethod.Builder,AuthenticationMethod>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AuthenticationMethod.Builder
iam(Consumer<IamAuthenticationMethod.Builder> iam)
A structure that describes details for IAM authentication.AuthenticationMethod.Builder
iam(IamAuthenticationMethod iam)
A structure that describes details for IAM authentication.-
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
-
iam
AuthenticationMethod.Builder iam(IamAuthenticationMethod iam)
A structure that describes details for IAM authentication.
- Parameters:
iam
- A structure that describes details for IAM authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iam
default AuthenticationMethod.Builder iam(Consumer<IamAuthenticationMethod.Builder> iam)
A structure that describes details for IAM authentication.
This is a convenience method that creates an instance of theIamAuthenticationMethod.Builder
avoiding the need to create one manually viaIamAuthenticationMethod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiam(IamAuthenticationMethod)
.- Parameters:
iam
- a consumer that will call methods onIamAuthenticationMethod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
iam(IamAuthenticationMethod)
-
-