congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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