Interface Sasl.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Sasl.Builder,,Sasl> SdkBuilder<Sasl.Builder,,Sasl> SdkPojo
- Enclosing class:
Sasl
@Mutable
@NotThreadSafe
public static interface Sasl.Builder
extends SdkPojo, CopyableBuilder<Sasl.Builder,Sasl>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Sasl.Builderiam(Consumer<Iam.Builder> iam) Indicates whether IAM access control is enabled.Indicates whether IAM access control is enabled.default Sasl.Builderscram(Consumer<Scram.Builder> scram) Details for SASL/SCRAM client authentication.Details for SASL/SCRAM client authentication.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
-
scram
Details for SASL/SCRAM client authentication.
- Parameters:
scram-Details for SASL/SCRAM client authentication.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scram
Details for SASL/SCRAM client authentication.
This is a convenience method that creates an instance of theScram.Builderavoiding the need to create one manually viaScram.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscram(Scram).- Parameters:
scram- a consumer that will call methods onScram.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.Builderavoiding the need to create one manually viaIam.builder().When the
Consumercompletes,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:
-