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

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

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

origin: aws/aws-sdk-java-v2

@Override
public ResendConfirmationCodeRequest build() {
  return new ResendConfirmationCodeRequest(this);
}
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 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

  CodeDeliveryFailureException, UserNotFoundException, InternalErrorException, AwsServiceException, SdkClientException,
  CognitoIdentityProviderException {
return resendConfirmationCode(ResendConfirmationCodeRequest.builder().applyMutation(resendConfirmationCodeRequest)
    .build());
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: aws/aws-sdk-java-v2

return resendConfirmationCode(ResendConfirmationCodeRequest.builder().applyMutation(resendConfirmationCodeRequest)
    .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());
}
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

return resendConfirmationCode(ResendConfirmationCodeRequest.builder().applyMutation(resendConfirmationCodeRequest)
    .build());
origin: software.amazon.awssdk/cognitoidp

  @Override
  public ResendConfirmationCodeRequest build() {
    return new ResendConfirmationCodeRequest(this);
  }
}
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: 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

  CodeDeliveryFailureException, UserNotFoundException, InternalErrorException, AwsServiceException, SdkClientException,
  CognitoIdentityProviderException {
return resendConfirmationCode(ResendConfirmationCodeRequest.builder().applyMutation(resendConfirmationCodeRequest)
    .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: 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();
    }
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelResendConfirmationCodeRequest

Javadoc

Represents the request to resend the confirmation code.

Most used methods

  • <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.
  • userContextData
    Contextual data such as the user's device fingerprint, IP address, or location used for evaluating

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Kernel (java.awt.image)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Reference (javax.naming)
  • BoxLayout (javax.swing)
  • Top plugins for Android Studio
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