Codota Logo
DeviceType.deviceLastModifiedDate
Code IndexAdd Codota to your IDE (free)

How to use
deviceLastModifiedDate
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.DeviceType

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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("DeviceType").add("DeviceKey", deviceKey()).add("DeviceAttributes", deviceAttributes())
      .add("DeviceCreateDate", deviceCreateDate()).add("DeviceLastModifiedDate", deviceLastModifiedDate())
      .add("DeviceLastAuthenticatedDate", deviceLastAuthenticatedDate()).build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("DeviceType").add("DeviceKey", deviceKey()).add("DeviceAttributes", deviceAttributes())
      .add("DeviceCreateDate", deviceCreateDate()).add("DeviceLastModifiedDate", deviceLastModifiedDate())
      .add("DeviceLastAuthenticatedDate", deviceLastAuthenticatedDate()).build();
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "DeviceKey":
    return Optional.ofNullable(clazz.cast(deviceKey()));
  case "DeviceAttributes":
    return Optional.ofNullable(clazz.cast(deviceAttributes()));
  case "DeviceCreateDate":
    return Optional.ofNullable(clazz.cast(deviceCreateDate()));
  case "DeviceLastModifiedDate":
    return Optional.ofNullable(clazz.cast(deviceLastModifiedDate()));
  case "DeviceLastAuthenticatedDate":
    return Optional.ofNullable(clazz.cast(deviceLastAuthenticatedDate()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(deviceKey());
  hashCode = 31 * hashCode + Objects.hashCode(deviceAttributes());
  hashCode = 31 * hashCode + Objects.hashCode(deviceCreateDate());
  hashCode = 31 * hashCode + Objects.hashCode(deviceLastModifiedDate());
  hashCode = 31 * hashCode + Objects.hashCode(deviceLastAuthenticatedDate());
  return hashCode;
}
origin: software.amazon.awssdk/cognitoidp

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "DeviceKey":
    return Optional.ofNullable(clazz.cast(deviceKey()));
  case "DeviceAttributes":
    return Optional.ofNullable(clazz.cast(deviceAttributes()));
  case "DeviceCreateDate":
    return Optional.ofNullable(clazz.cast(deviceCreateDate()));
  case "DeviceLastModifiedDate":
    return Optional.ofNullable(clazz.cast(deviceLastModifiedDate()));
  case "DeviceLastAuthenticatedDate":
    return Optional.ofNullable(clazz.cast(deviceLastAuthenticatedDate()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(deviceKey());
  hashCode = 31 * hashCode + Objects.hashCode(deviceAttributes());
  hashCode = 31 * hashCode + Objects.hashCode(deviceCreateDate());
  hashCode = 31 * hashCode + Objects.hashCode(deviceLastModifiedDate());
  hashCode = 31 * hashCode + Objects.hashCode(deviceLastAuthenticatedDate());
  return hashCode;
}
origin: software.amazon.awssdk/cognitoidp

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof DeviceType)) {
    return false;
  }
  DeviceType other = (DeviceType) obj;
  return Objects.equals(deviceKey(), other.deviceKey()) && Objects.equals(deviceAttributes(), other.deviceAttributes())
      && Objects.equals(deviceCreateDate(), other.deviceCreateDate())
      && Objects.equals(deviceLastModifiedDate(), other.deviceLastModifiedDate())
      && Objects.equals(deviceLastAuthenticatedDate(), other.deviceLastAuthenticatedDate());
}
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 DeviceType)) {
    return false;
  }
  DeviceType other = (DeviceType) obj;
  return Objects.equals(deviceKey(), other.deviceKey()) && Objects.equals(deviceAttributes(), other.deviceAttributes())
      && Objects.equals(deviceCreateDate(), other.deviceCreateDate())
      && Objects.equals(deviceLastModifiedDate(), other.deviceLastModifiedDate())
      && Objects.equals(deviceLastAuthenticatedDate(), other.deviceLastAuthenticatedDate());
}
origin: software.amazon.awssdk/cognitoidp

  /**
   * Marshall the given parameter object
   */
  public void marshall(DeviceType deviceType, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(deviceType, "deviceType");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(deviceType.deviceKey(), DEVICEKEY_BINDING);
      protocolMarshaller.marshall(deviceType.deviceAttributes(), DEVICEATTRIBUTES_BINDING);
      protocolMarshaller.marshall(deviceType.deviceCreateDate(), DEVICECREATEDATE_BINDING);
      protocolMarshaller.marshall(deviceType.deviceLastModifiedDate(), DEVICELASTMODIFIEDDATE_BINDING);
      protocolMarshaller.marshall(deviceType.deviceLastAuthenticatedDate(), DEVICELASTAUTHENTICATEDDATE_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelDeviceTypedeviceLastModifiedDate

Javadoc

The last modified date of the device.

Popular methods of DeviceType

  • <init>
  • builder
  • deviceAttributes
    The device attributes. Attempts to modify the collection returned by this method will result in a
  • deviceCreateDate
    The creation date of the device.
  • deviceKey
    The device key.
  • deviceLastAuthenticatedDate
    The date in which the device was last authenticated.
  • toBuilder

Popular in Java

  • Start an intent from android
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Kernel (java.awt.image)
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now