@Override public String toString() { return ToString.builder("UserPoolType").add("Id", id()).add("Name", name()).add("Policies", policies()) .add("LambdaConfig", lambdaConfig()).add("Status", statusAsString()).add("LastModifiedDate", lastModifiedDate()) .add("CreationDate", creationDate()).add("SchemaAttributes", schemaAttributes()) .add("AutoVerifiedAttributes", autoVerifiedAttributesAsStrings()) .add("AliasAttributes", aliasAttributesAsStrings()).add("UsernameAttributes", usernameAttributesAsStrings()) .add("SmsVerificationMessage", smsVerificationMessage()) .add("EmailVerificationMessage", emailVerificationMessage()) .add("EmailVerificationSubject", emailVerificationSubject()) .add("VerificationMessageTemplate", verificationMessageTemplate()) .add("SmsAuthenticationMessage", smsAuthenticationMessage()).add("MfaConfiguration", mfaConfigurationAsString()) .add("DeviceConfiguration", deviceConfiguration()).add("EstimatedNumberOfUsers", estimatedNumberOfUsers()) .add("EmailConfiguration", emailConfiguration()).add("SmsConfiguration", smsConfiguration()) .add("UserPoolTags", userPoolTags()).add("SmsConfigurationFailure", smsConfigurationFailure()) .add("EmailConfigurationFailure", emailConfigurationFailure()) .add("AdminCreateUserConfig", adminCreateUserConfig()).build(); }
/** * 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("UserPoolType").add("Id", id()).add("Name", name()).add("Policies", policies()) .add("LambdaConfig", lambdaConfig()).add("Status", statusAsString()).add("LastModifiedDate", lastModifiedDate()) .add("CreationDate", creationDate()).add("SchemaAttributes", schemaAttributes()) .add("AutoVerifiedAttributes", autoVerifiedAttributesAsStrings()) .add("AliasAttributes", aliasAttributesAsStrings()).add("UsernameAttributes", usernameAttributesAsStrings()) .add("SmsVerificationMessage", smsVerificationMessage()) .add("EmailVerificationMessage", emailVerificationMessage()) .add("EmailVerificationSubject", emailVerificationSubject()) .add("VerificationMessageTemplate", verificationMessageTemplate()) .add("SmsAuthenticationMessage", smsAuthenticationMessage()).add("MfaConfiguration", mfaConfigurationAsString()) .add("DeviceConfiguration", deviceConfiguration()).add("EstimatedNumberOfUsers", estimatedNumberOfUsers()) .add("EmailConfiguration", emailConfiguration()).add("SmsConfiguration", smsConfiguration()) .add("UserPoolTags", userPoolTags()).add("SmsConfigurationFailure", smsConfigurationFailure()) .add("EmailConfigurationFailure", emailConfigurationFailure()).add("Domain", domain()) .add("CustomDomain", customDomain()).add("AdminCreateUserConfig", adminCreateUserConfig()) .add("UserPoolAddOns", userPoolAddOns()).add("Arn", arn()).build(); }
return Optional.ofNullable(clazz.cast(smsVerificationMessage())); case "EmailVerificationMessage": return Optional.ofNullable(clazz.cast(emailVerificationMessage())); case "EmailVerificationSubject": return Optional.ofNullable(clazz.cast(emailVerificationSubject()));
return Optional.ofNullable(clazz.cast(smsVerificationMessage())); case "EmailVerificationMessage": return Optional.ofNullable(clazz.cast(emailVerificationMessage())); case "EmailVerificationSubject": return Optional.ofNullable(clazz.cast(emailVerificationSubject()));
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(id()); hashCode = 31 * hashCode + Objects.hashCode(name()); hashCode = 31 * hashCode + Objects.hashCode(policies()); hashCode = 31 * hashCode + Objects.hashCode(lambdaConfig()); hashCode = 31 * hashCode + Objects.hashCode(statusAsString()); hashCode = 31 * hashCode + Objects.hashCode(lastModifiedDate()); hashCode = 31 * hashCode + Objects.hashCode(creationDate()); hashCode = 31 * hashCode + Objects.hashCode(schemaAttributes()); hashCode = 31 * hashCode + Objects.hashCode(autoVerifiedAttributesAsStrings()); hashCode = 31 * hashCode + Objects.hashCode(aliasAttributesAsStrings()); hashCode = 31 * hashCode + Objects.hashCode(usernameAttributesAsStrings()); hashCode = 31 * hashCode + Objects.hashCode(smsVerificationMessage()); hashCode = 31 * hashCode + Objects.hashCode(emailVerificationMessage()); hashCode = 31 * hashCode + Objects.hashCode(emailVerificationSubject()); hashCode = 31 * hashCode + Objects.hashCode(verificationMessageTemplate()); hashCode = 31 * hashCode + Objects.hashCode(smsAuthenticationMessage()); hashCode = 31 * hashCode + Objects.hashCode(mfaConfigurationAsString()); hashCode = 31 * hashCode + Objects.hashCode(deviceConfiguration()); hashCode = 31 * hashCode + Objects.hashCode(estimatedNumberOfUsers()); hashCode = 31 * hashCode + Objects.hashCode(emailConfiguration()); hashCode = 31 * hashCode + Objects.hashCode(smsConfiguration()); hashCode = 31 * hashCode + Objects.hashCode(userPoolTags()); hashCode = 31 * hashCode + Objects.hashCode(smsConfigurationFailure()); hashCode = 31 * hashCode + Objects.hashCode(emailConfigurationFailure()); hashCode = 31 * hashCode + Objects.hashCode(adminCreateUserConfig()); return hashCode; }
hashCode = 31 * hashCode + Objects.hashCode(usernameAttributesAsStrings()); hashCode = 31 * hashCode + Objects.hashCode(smsVerificationMessage()); hashCode = 31 * hashCode + Objects.hashCode(emailVerificationMessage()); hashCode = 31 * hashCode + Objects.hashCode(emailVerificationSubject()); hashCode = 31 * hashCode + Objects.hashCode(verificationMessageTemplate());
&& Objects.equals(usernameAttributesAsStrings(), other.usernameAttributesAsStrings()) && Objects.equals(smsVerificationMessage(), other.smsVerificationMessage()) && Objects.equals(emailVerificationMessage(), other.emailVerificationMessage()) && Objects.equals(emailVerificationSubject(), other.emailVerificationSubject()) && Objects.equals(verificationMessageTemplate(), other.verificationMessageTemplate())
&& Objects.equals(usernameAttributesAsStrings(), other.usernameAttributesAsStrings()) && Objects.equals(smsVerificationMessage(), other.smsVerificationMessage()) && Objects.equals(emailVerificationMessage(), other.emailVerificationMessage()) && Objects.equals(emailVerificationSubject(), other.emailVerificationSubject()) && Objects.equals(verificationMessageTemplate(), other.verificationMessageTemplate())
protocolMarshaller.marshall(userPoolType.usernameAttributesAsStrings(), USERNAMEATTRIBUTES_BINDING); protocolMarshaller.marshall(userPoolType.smsVerificationMessage(), SMSVERIFICATIONMESSAGE_BINDING); protocolMarshaller.marshall(userPoolType.emailVerificationMessage(), EMAILVERIFICATIONMESSAGE_BINDING); protocolMarshaller.marshall(userPoolType.emailVerificationSubject(), EMAILVERIFICATIONSUBJECT_BINDING); protocolMarshaller.marshall(userPoolType.verificationMessageTemplate(), VERIFICATIONMESSAGETEMPLATE_BINDING);