Tabnine Logo
LambdaConfigType.customMessage
Code IndexAdd Tabnine to your IDE (free)

How to use
customMessage
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.LambdaConfigType

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

origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("LambdaConfigType").add("PreSignUp", preSignUp()).add("CustomMessage", customMessage())
      .add("PostConfirmation", postConfirmation()).add("PreAuthentication", preAuthentication())
      .add("PostAuthentication", postAuthentication()).add("DefineAuthChallenge", defineAuthChallenge())
      .add("CreateAuthChallenge", createAuthChallenge())
      .add("VerifyAuthChallengeResponse", verifyAuthChallengeResponse()).build();
}
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("LambdaConfigType").add("PreSignUp", preSignUp()).add("CustomMessage", customMessage())
      .add("PostConfirmation", postConfirmation()).add("PreAuthentication", preAuthentication())
      .add("PostAuthentication", postAuthentication()).add("DefineAuthChallenge", defineAuthChallenge())
      .add("CreateAuthChallenge", createAuthChallenge())
      .add("VerifyAuthChallengeResponse", verifyAuthChallengeResponse())
      .add("PreTokenGeneration", preTokenGeneration()).add("UserMigration", userMigration()).build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(preSignUp());
  hashCode = 31 * hashCode + Objects.hashCode(customMessage());
  hashCode = 31 * hashCode + Objects.hashCode(postConfirmation());
  hashCode = 31 * hashCode + Objects.hashCode(preAuthentication());
  hashCode = 31 * hashCode + Objects.hashCode(postAuthentication());
  hashCode = 31 * hashCode + Objects.hashCode(defineAuthChallenge());
  hashCode = 31 * hashCode + Objects.hashCode(createAuthChallenge());
  hashCode = 31 * hashCode + Objects.hashCode(verifyAuthChallengeResponse());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(preSignUp());
  hashCode = 31 * hashCode + Objects.hashCode(customMessage());
  hashCode = 31 * hashCode + Objects.hashCode(postConfirmation());
  hashCode = 31 * hashCode + Objects.hashCode(preAuthentication());
  hashCode = 31 * hashCode + Objects.hashCode(postAuthentication());
  hashCode = 31 * hashCode + Objects.hashCode(defineAuthChallenge());
  hashCode = 31 * hashCode + Objects.hashCode(createAuthChallenge());
  hashCode = 31 * hashCode + Objects.hashCode(verifyAuthChallengeResponse());
  hashCode = 31 * hashCode + Objects.hashCode(preTokenGeneration());
  hashCode = 31 * hashCode + Objects.hashCode(userMigration());
  return hashCode;
}
origin: software.amazon.awssdk/cognitoidp

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "PreSignUp":
    return Optional.ofNullable(clazz.cast(preSignUp()));
  case "CustomMessage":
    return Optional.ofNullable(clazz.cast(customMessage()));
  case "PostConfirmation":
    return Optional.ofNullable(clazz.cast(postConfirmation()));
  case "PreAuthentication":
    return Optional.ofNullable(clazz.cast(preAuthentication()));
  case "PostAuthentication":
    return Optional.ofNullable(clazz.cast(postAuthentication()));
  case "DefineAuthChallenge":
    return Optional.ofNullable(clazz.cast(defineAuthChallenge()));
  case "CreateAuthChallenge":
    return Optional.ofNullable(clazz.cast(createAuthChallenge()));
  case "VerifyAuthChallengeResponse":
    return Optional.ofNullable(clazz.cast(verifyAuthChallengeResponse()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "PreSignUp":
    return Optional.ofNullable(clazz.cast(preSignUp()));
  case "CustomMessage":
    return Optional.ofNullable(clazz.cast(customMessage()));
  case "PostConfirmation":
    return Optional.ofNullable(clazz.cast(postConfirmation()));
  case "PreAuthentication":
    return Optional.ofNullable(clazz.cast(preAuthentication()));
  case "PostAuthentication":
    return Optional.ofNullable(clazz.cast(postAuthentication()));
  case "DefineAuthChallenge":
    return Optional.ofNullable(clazz.cast(defineAuthChallenge()));
  case "CreateAuthChallenge":
    return Optional.ofNullable(clazz.cast(createAuthChallenge()));
  case "VerifyAuthChallengeResponse":
    return Optional.ofNullable(clazz.cast(verifyAuthChallengeResponse()));
  case "PreTokenGeneration":
    return Optional.ofNullable(clazz.cast(preTokenGeneration()));
  case "UserMigration":
    return Optional.ofNullable(clazz.cast(userMigration()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof LambdaConfigType)) {
    return false;
  }
  LambdaConfigType other = (LambdaConfigType) obj;
  return Objects.equals(preSignUp(), other.preSignUp()) && Objects.equals(customMessage(), other.customMessage())
      && Objects.equals(postConfirmation(), other.postConfirmation())
      && Objects.equals(preAuthentication(), other.preAuthentication())
      && Objects.equals(postAuthentication(), other.postAuthentication())
      && Objects.equals(defineAuthChallenge(), other.defineAuthChallenge())
      && Objects.equals(createAuthChallenge(), other.createAuthChallenge())
      && Objects.equals(verifyAuthChallengeResponse(), other.verifyAuthChallengeResponse());
}
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 LambdaConfigType)) {
    return false;
  }
  LambdaConfigType other = (LambdaConfigType) obj;
  return Objects.equals(preSignUp(), other.preSignUp()) && Objects.equals(customMessage(), other.customMessage())
      && Objects.equals(postConfirmation(), other.postConfirmation())
      && Objects.equals(preAuthentication(), other.preAuthentication())
      && Objects.equals(postAuthentication(), other.postAuthentication())
      && Objects.equals(defineAuthChallenge(), other.defineAuthChallenge())
      && Objects.equals(createAuthChallenge(), other.createAuthChallenge())
      && Objects.equals(verifyAuthChallengeResponse(), other.verifyAuthChallengeResponse())
      && Objects.equals(preTokenGeneration(), other.preTokenGeneration())
      && Objects.equals(userMigration(), other.userMigration());
}
origin: software.amazon.awssdk/cognitoidp

  /**
   * Marshall the given parameter object
   */
  public void marshall(LambdaConfigType lambdaConfigType, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(lambdaConfigType, "lambdaConfigType");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(lambdaConfigType.preSignUp(), PRESIGNUP_BINDING);
      protocolMarshaller.marshall(lambdaConfigType.customMessage(), CUSTOMMESSAGE_BINDING);
      protocolMarshaller.marshall(lambdaConfigType.postConfirmation(), POSTCONFIRMATION_BINDING);
      protocolMarshaller.marshall(lambdaConfigType.preAuthentication(), PREAUTHENTICATION_BINDING);
      protocolMarshaller.marshall(lambdaConfigType.postAuthentication(), POSTAUTHENTICATION_BINDING);
      protocolMarshaller.marshall(lambdaConfigType.defineAuthChallenge(), DEFINEAUTHCHALLENGE_BINDING);
      protocolMarshaller.marshall(lambdaConfigType.createAuthChallenge(), CREATEAUTHCHALLENGE_BINDING);
      protocolMarshaller.marshall(lambdaConfigType.verifyAuthChallengeResponse(), VERIFYAUTHCHALLENGERESPONSE_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelLambdaConfigTypecustomMessage

Javadoc

A custom Message AWS Lambda trigger.

Popular methods of LambdaConfigType

  • <init>
  • builder
  • createAuthChallenge
    Creates an authentication challenge.
  • defineAuthChallenge
    Defines the authentication challenge.
  • postAuthentication
    A post-authentication AWS Lambda trigger.
  • postConfirmation
    A post-confirmation AWS Lambda trigger.
  • preAuthentication
    A pre-authentication AWS Lambda trigger.
  • preSignUp
    A pre-registration AWS Lambda trigger.
  • toBuilder
  • verifyAuthChallengeResponse
    Verifies the authentication challenge response.
  • preTokenGeneration
    A Lambda trigger that is invoked before token generation.
  • userMigration
    The user migration Lambda config type.
  • preTokenGeneration,
  • userMigration

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Permission (java.security)
    Legacy security code; do not use.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • 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