congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
GetDeviceResponse.builder
Code IndexAdd Tabnine to your IDE (free)

How to use
builder
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.GetDeviceResponse

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.GetDeviceResponse.builder (Showing top 1 results out of 315)

origin: software.amazon.awssdk/cognitoidp

public GetDeviceResponse unmarshall(JsonUnmarshallerContext context) throws Exception {
  GetDeviceResponse.Builder getDeviceResponseBuilder = GetDeviceResponse.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 getDeviceResponseBuilder.build();
  }
  while (true) {
    if (token == null)
      break;
    if (token == FIELD_NAME || token == START_OBJECT) {
      if (context.testExpression("Device", targetDepth)) {
        context.nextToken();
        getDeviceResponseBuilder.device(DeviceTypeUnmarshaller.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 getDeviceResponseBuilder.build();
}
software.amazon.awssdk.services.cognitoidentityprovider.modelGetDeviceResponsebuilder

Popular methods of GetDeviceResponse

  • <init>
  • device
    The device.

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Github Copilot alternatives
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