Tabnine Logo
ResendConfirmationCodeRequest.userContextData
Code IndexAdd Tabnine to your IDE (free)

How to use
userContextData
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.ResendConfirmationCodeRequest

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

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("ResendConfirmationCodeRequest")
      .add("ClientId", clientId() == null ? null : "*** Sensitive Data Redacted ***")
      .add("SecretHash", secretHash() == null ? null : "*** Sensitive Data Redacted ***")
      .add("UserContextData", userContextData())
      .add("Username", username() == null ? null : "*** Sensitive Data Redacted ***")
      .add("AnalyticsMetadata", analyticsMetadata()).build();
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "ClientId":
    return Optional.ofNullable(clazz.cast(clientId()));
  case "SecretHash":
    return Optional.ofNullable(clazz.cast(secretHash()));
  case "UserContextData":
    return Optional.ofNullable(clazz.cast(userContextData()));
  case "Username":
    return Optional.ofNullable(clazz.cast(username()));
  case "AnalyticsMetadata":
    return Optional.ofNullable(clazz.cast(analyticsMetadata()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(clientId());
  hashCode = 31 * hashCode + Objects.hashCode(secretHash());
  hashCode = 31 * hashCode + Objects.hashCode(userContextData());
  hashCode = 31 * hashCode + Objects.hashCode(username());
  hashCode = 31 * hashCode + Objects.hashCode(analyticsMetadata());
  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 ResendConfirmationCodeRequest)) {
    return false;
  }
  ResendConfirmationCodeRequest other = (ResendConfirmationCodeRequest) obj;
  return Objects.equals(clientId(), other.clientId()) && Objects.equals(secretHash(), other.secretHash())
      && Objects.equals(userContextData(), other.userContextData()) && Objects.equals(username(), other.username())
      && Objects.equals(analyticsMetadata(), other.analyticsMetadata());
}
software.amazon.awssdk.services.cognitoidentityprovider.modelResendConfirmationCodeRequestuserContextData

Javadoc

Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.

Popular methods of ResendConfirmationCodeRequest

  • <init>
  • builder
  • clientId
    The ID of the client associated with the user pool.
  • secretHash
    A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool clie
  • username
    The user name of the user to whom you wish to resend a confirmation code.
  • analyticsMetadata
    The Amazon Pinpoint analytics metadata for collecting metrics for ResendConfirmationCode calls.

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Permission (java.security)
    Legacy security code; do not use.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Github Copilot alternatives
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