Tabnine Logo
ListDevicesRequest.accessToken
Code IndexAdd Tabnine to your IDE (free)

How to use
accessToken
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.ListDevicesRequest

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

origin: aws/aws-sdk-java-v2

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

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "AccessToken":
    return Optional.ofNullable(clazz.cast(accessToken()));
  case "Limit":
    return Optional.ofNullable(clazz.cast(limit()));
  case "PaginationToken":
    return Optional.ofNullable(clazz.cast(paginationToken()));
  default:
    return Optional.empty();
  }
}
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("ListDevicesRequest")
      .add("AccessToken", accessToken() == null ? null : "*** Sensitive Data Redacted ***").add("Limit", limit())
      .add("PaginationToken", paginationToken()).build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("ListDevicesRequest").add("AccessToken", accessToken()).add("Limit", limit())
      .add("PaginationToken", paginationToken()).build();
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(accessToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  hashCode = 31 * hashCode + Objects.hashCode(paginationToken());
  return hashCode;
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(accessToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  hashCode = 31 * hashCode + Objects.hashCode(paginationToken());
  return hashCode;
}
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 ListDevicesRequest)) {
    return false;
  }
  ListDevicesRequest other = (ListDevicesRequest) obj;
  return Objects.equals(accessToken(), other.accessToken()) && Objects.equals(limit(), other.limit())
      && Objects.equals(paginationToken(), other.paginationToken());
}
origin: software.amazon.awssdk/cognitoidp

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

  /**
   * Marshall the given parameter object
   */
  public void marshall(ListDevicesRequest listDevicesRequest, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(listDevicesRequest, "listDevicesRequest");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(listDevicesRequest.accessToken(), ACCESSTOKEN_BINDING);
      protocolMarshaller.marshall(listDevicesRequest.limit(), LIMIT_BINDING);
      protocolMarshaller.marshall(listDevicesRequest.paginationToken(), PAGINATIONTOKEN_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelListDevicesRequestaccessToken

Javadoc

The access tokens for the request to list devices.

Popular methods of ListDevicesRequest

  • <init>
  • builder
  • limit
    The limit of the device request.
  • paginationToken
    The pagination token for the list request.

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Reference (javax.naming)
  • JFrame (javax.swing)
  • JPanel (javax.swing)
  • Top PhpStorm 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