Tabnine Logo
GetDeviceResponse
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: software.amazon.awssdk/cognitoidp

  @Override
  public GetDeviceResponse build() {
    return new GetDeviceResponse(this);
  }
}
origin: aws/aws-sdk-java-v2

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof GetDeviceResponse)) {
    return false;
  }
  GetDeviceResponse other = (GetDeviceResponse) obj;
  return Objects.equals(device(), other.device());
}
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();
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(device());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

@Override
public GetDeviceResponse build() {
  return new GetDeviceResponse(this);
}
origin: software.amazon.awssdk/cognitoidp

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof GetDeviceResponse)) {
    return false;
  }
  GetDeviceResponse other = (GetDeviceResponse) obj;
  return Objects.equals(device(), other.device());
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(device());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("GetDeviceResponse").add("Device", device()).build();
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Device":
    return Optional.ofNullable(clazz.cast(device()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Device":
    return Optional.ofNullable(clazz.cast(device()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("GetDeviceResponse").add("Device", device()).build();
}
software.amazon.awssdk.services.cognitoidentityprovider.modelGetDeviceResponse

Javadoc

Gets the device response.

Most used methods

  • <init>
  • device
    The device.
  • builder

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top Vim plugins
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