Interface ServerlessSasl.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServerlessSasl.Builder,
,ServerlessSasl> SdkBuilder<ServerlessSasl.Builder,
,ServerlessSasl> SdkPojo
- Enclosing class:
ServerlessSasl
public static interface ServerlessSasl.Builder
extends SdkPojo, CopyableBuilder<ServerlessSasl.Builder,ServerlessSasl>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServerlessSasl.Builder
iam
(Consumer<Iam.Builder> iam) Indicates whether IAM access control is enabled.Indicates whether IAM access control is enabled.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
-
iam
Indicates whether IAM access control is enabled.
- Parameters:
iam
-Indicates whether IAM access control is enabled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iam
Indicates whether IAM access control is enabled.
This is a convenience method that creates an instance of theIam.Builder
avoiding the need to create one manually viaIam.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiam(Iam)
.- Parameters:
iam
- a consumer that will call methods onIam.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-