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 Details

    • scram

      Sasl.Builder scram(Scram 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

      default Sasl.Builder scram(Consumer<Scram.Builder> scram)

      Details for SASL/SCRAM client authentication.

      This is a convenience method that creates an instance of the Scram.Builder avoiding the need to create one manually via Scram.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scram(Scram).

      Parameters:
      scram - a consumer that will call methods on Scram.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • iam

      Sasl.Builder iam(Iam 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

      default Sasl.Builder iam(Consumer<Iam.Builder> iam)

      Indicates whether IAM access control is enabled.

      This is a convenience method that creates an instance of the Iam.Builder avoiding the need to create one manually via Iam.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to iam(Iam).

      Parameters:
      iam - a consumer that will call methods on Iam.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: