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

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

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

origin: software.amazon.awssdk/cognitoidp

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 "Username":
    return Optional.ofNullable(clazz.cast(username()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("ResendConfirmationCodeRequest").add("ClientId", clientId()).add("SecretHash", secretHash())
      .add("Username", username()).build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(clientId());
  hashCode = 31 * hashCode + Objects.hashCode(secretHash());
  hashCode = 31 * hashCode + Objects.hashCode(username());
  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("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: software.amazon.awssdk/cognitoidp

@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(username(), other.username());
}
origin: software.amazon.awssdk/cognitoidp

  /**
   * Marshall the given parameter object
   */
  public void marshall(ResendConfirmationCodeRequest resendConfirmationCodeRequest, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(resendConfirmationCodeRequest, "resendConfirmationCodeRequest");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(resendConfirmationCodeRequest.clientId(), CLIENTID_BINDING);
      protocolMarshaller.marshall(resendConfirmationCodeRequest.secretHash(), SECRETHASH_BINDING);
      protocolMarshaller.marshall(resendConfirmationCodeRequest.username(), USERNAME_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
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.modelResendConfirmationCodeRequestusername

Javadoc

The user name of the user to whom you wish to resend a confirmation code.

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
  • analyticsMetadata
    The Amazon Pinpoint analytics metadata for collecting metrics for ResendConfirmationCode calls.
  • userContextData
    Contextual data such as the user's device fingerprint, IP address, or location used for evaluating

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JPanel (javax.swing)
  • Top plugins for WebStorm
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