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

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

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

origin: software.amazon.awssdk/cognitoidp

public DescribeUserPoolResponse unmarshall(JsonUnmarshallerContext context) throws Exception {
  DescribeUserPoolResponse.Builder describeUserPoolResponseBuilder = DescribeUserPoolResponse.builder();
  int originalDepth = context.getCurrentDepth();
  String currentParentElement = context.getCurrentParentElement();
  int targetDepth = originalDepth + 1;
  JsonToken token = context.getCurrentToken();
  if (token == null)
    token = context.nextToken();
  if (token == VALUE_NULL) {
    return describeUserPoolResponseBuilder.build();
  }
  while (true) {
    if (token == null)
      break;
    if (token == FIELD_NAME || token == START_OBJECT) {
      if (context.testExpression("UserPool", targetDepth)) {
        context.nextToken();
        describeUserPoolResponseBuilder.userPool(UserPoolTypeUnmarshaller.getInstance().unmarshall(context));
      }
    } else if (token == END_ARRAY || token == END_OBJECT) {
      if (context.getLastParsedParentElement() == null
          || context.getLastParsedParentElement().equals(currentParentElement)) {
        if (context.getCurrentDepth() <= originalDepth)
          break;
      }
    }
    token = context.nextToken();
  }
  return describeUserPoolResponseBuilder.build();
}
origin: software.amazon.awssdk/cognitoidp

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

  /**
   * <p>
   * The container of metadata returned by the server to describe the pool.
   * </p>
   * This is a convenience that creates an instance of the {@link UserPoolType.Builder} avoiding the need to
   * create one manually via {@link UserPoolType#builder()}.
   *
   * When the {@link Consumer} completes, {@link UserPoolType.Builder#build()} is called immediately and its
   * result is passed to {@link #userPool(UserPoolType)}.
   * 
   * @param userPool
   *        a consumer that will call methods on {@link UserPoolType.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #userPool(UserPoolType)
   */
  default Builder userPool(Consumer<UserPoolType.Builder> userPool) {
    return userPool(UserPoolType.builder().applyMutation(userPool).build());
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelDescribeUserPoolResponse$Builder

Most used methods

  • userPool
  • build

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JCheckBox (javax.swing)
  • Join (org.hibernate.mapping)
  • Runner (org.openjdk.jmh.runner)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 12 Jupyter Notebook extensions
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