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

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

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

origin: software.amazon.awssdk/cognitoidp

  @Override
  public GlobalSignOutRequest build() {
    return new GlobalSignOutRequest(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 GlobalSignOutRequest)) {
    return false;
  }
  GlobalSignOutRequest other = (GlobalSignOutRequest) obj;
  return Objects.equals(accessToken(), other.accessToken());
}
origin: aws/aws-sdk-java-v2

return globalSignOut(GlobalSignOutRequest.builder().applyMutation(globalSignOutRequest).build());
origin: aws/aws-sdk-java-v2

  PasswordResetRequiredException, UserNotConfirmedException, InternalErrorException, AwsServiceException,
  SdkClientException, CognitoIdentityProviderException {
return globalSignOut(GlobalSignOutRequest.builder().applyMutation(globalSignOutRequest).build());
origin: aws/aws-sdk-java-v2

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

return globalSignOut(GlobalSignOutRequest.builder().applyMutation(globalSignOutRequest).build());
origin: aws/aws-sdk-java-v2

@Override
public GlobalSignOutRequest build() {
  return new GlobalSignOutRequest(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 GlobalSignOutRequest)) {
    return false;
  }
  GlobalSignOutRequest other = (GlobalSignOutRequest) obj;
  return Objects.equals(accessToken(), other.accessToken());
}
origin: software.amazon.awssdk/cognitoidp

  PasswordResetRequiredException, UserNotConfirmedException, InternalErrorException, AwsServiceException,
  SdkClientException, CognitoIdentityProviderException {
return globalSignOut(GlobalSignOutRequest.builder().applyMutation(globalSignOutRequest).build());
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(accessToken());
  return hashCode;
}
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()));
  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("GlobalSignOutRequest")
      .add("AccessToken", accessToken() == null ? null : "*** Sensitive Data Redacted ***").build();
}
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()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("GlobalSignOutRequest").add("AccessToken", accessToken()).build();
}
origin: software.amazon.awssdk/cognitoidp

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

Javadoc

Represents the request to sign out all devices.

Most used methods

  • <init>
  • accessToken
    The access token.
  • builder

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 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