Class CognitoUserPoolsTrait.Builder

All Implemented Interfaces:
SmithyBuilder<CognitoUserPoolsTrait>
Enclosing class:
CognitoUserPoolsTrait

public static final class CognitoUserPoolsTrait.Builder extends AbstractTraitBuilder<CognitoUserPoolsTrait,CognitoUserPoolsTrait.Builder>
  • Method Details

    • build

      public CognitoUserPoolsTrait build()
      Description copied from interface: SmithyBuilder
      Creates an immutable object that is created from the properties that have been set on the builder.
      Returns:
      an instance of T
    • providerArns

      public CognitoUserPoolsTrait.Builder providerArns(List<String> providerArns)
      Sets the provider ARNs.
      Parameters:
      providerArns - ARNS to set.
      Returns:
      Returns the builder.
    • addProviderArn

      public CognitoUserPoolsTrait.Builder addProviderArn(String arn)
      Adds a provider ARN.
      Parameters:
      arn - ARN to add.
      Returns:
      Returns the builder.
    • clearProviderArns

      public CognitoUserPoolsTrait.Builder clearProviderArns()
      Clears all provider ARNs from the builder.
      Returns:
      Returns the builder.