@Override public LambdaConfigType build() { return new LambdaConfigType(this); } }
/** * 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(); }
public final LambdaConfigType.Builder getLambdaConfig() { return lambdaConfig != null ? lambdaConfig.toBuilder() : null; }
/** * <p> * The AWS Lambda triggers associated with the user pool. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
/** * <p> * The AWS Lambda configuration information in a user pool description. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
@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(); }
/** * <p> * The AWS Lambda configuration information from the request to update the user pool. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
public final LambdaConfigType.Builder getLambdaConfig() { return lambdaConfig != null ? lambdaConfig.toBuilder() : null; }
@Override public LambdaConfigType build() { return new LambdaConfigType(this); }
@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; }
/** * <p> * A container for the AWS Lambda triggers associated with a user pool. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
public final LambdaConfigType.Builder getLambdaConfig() { return lambdaConfig != null ? lambdaConfig.toBuilder() : null; }
@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; }
/** * <p> * The Lambda trigger configuration information for the new user pool. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
public final LambdaConfigType.Builder getLambdaConfig() { return lambdaConfig != null ? lambdaConfig.toBuilder() : null; }
@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()); }
/** * <p> * The AWS Lambda configuration information from the request to update the user pool. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
public final LambdaConfigType.Builder getLambdaConfig() { return lambdaConfig != null ? lambdaConfig.toBuilder() : null; }
@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()); }
/** * <p> * The AWS Lambda configuration information in a user pool description. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }