Tabnine Logo
StringAttributeConstraintsType$Builder
Code IndexAdd Tabnine to your IDE (free)

How to use
StringAttributeConstraintsType$Builder
in
software.amazon.awssdk.services.cognitoidentityprovider.model

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.StringAttributeConstraintsType$Builder (Showing top 3 results out of 315)

origin: software.amazon.awssdk/cognitoidp

    if (context.testExpression("MinLength", targetDepth)) {
      context.nextToken();
      stringAttributeConstraintsTypeBuilder.minLength(context.getUnmarshaller(String.class).unmarshall(context));
      stringAttributeConstraintsTypeBuilder.maxLength(context.getUnmarshaller(String.class).unmarshall(context));
return stringAttributeConstraintsTypeBuilder.build();
origin: software.amazon.awssdk/cognitoidp

  /**
   * <p>
   * Specifies the constraints for an attribute of the string type.
   * </p>
   * This is a convenience that creates an instance of the {@link StringAttributeConstraintsType.Builder} avoiding
   * the need to create one manually via {@link StringAttributeConstraintsType#builder()}.
   *
   * When the {@link Consumer} completes, {@link StringAttributeConstraintsType.Builder#build()} is called
   * immediately and its result is passed to {@link #stringAttributeConstraints(StringAttributeConstraintsType)}.
   * 
   * @param stringAttributeConstraints
   *        a consumer that will call methods on {@link StringAttributeConstraintsType.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #stringAttributeConstraints(StringAttributeConstraintsType)
   */
  default Builder stringAttributeConstraints(Consumer<StringAttributeConstraintsType.Builder> stringAttributeConstraints) {
    return stringAttributeConstraints(StringAttributeConstraintsType.builder().applyMutation(stringAttributeConstraints)
        .build());
  }
}
origin: aws/aws-sdk-java-v2

  /**
   * <p>
   * Specifies the constraints for an attribute of the string type.
   * </p>
   * This is a convenience that creates an instance of the {@link StringAttributeConstraintsType.Builder} avoiding
   * the need to create one manually via {@link StringAttributeConstraintsType#builder()}.
   *
   * When the {@link Consumer} completes, {@link StringAttributeConstraintsType.Builder#build()} is called
   * immediately and its result is passed to {@link #stringAttributeConstraints(StringAttributeConstraintsType)}.
   * 
   * @param stringAttributeConstraints
   *        a consumer that will call methods on {@link StringAttributeConstraintsType.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #stringAttributeConstraints(StringAttributeConstraintsType)
   */
  default Builder stringAttributeConstraints(Consumer<StringAttributeConstraintsType.Builder> stringAttributeConstraints) {
    return stringAttributeConstraints(StringAttributeConstraintsType.builder().applyMutation(stringAttributeConstraints)
        .build());
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelStringAttributeConstraintsType$Builder

Most used methods

  • applyMutation
  • build
  • maxLength
    The maximum length of an attribute value of the string type.
  • minLength
    The minimum length of an attribute value of the string type.

Popular in Java

  • Making http requests using okhttp
  • setContentView (Activity)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Menu (java.awt)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now