@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(lambdaConfig())); case "Status": return Optional.ofNullable(clazz.cast(statusAsString())); case "LastModifiedDate": return Optional.ofNullable(clazz.cast(lastModifiedDate()));
return Optional.ofNullable(clazz.cast(lambdaConfig())); case "Status": return Optional.ofNullable(clazz.cast(statusAsString())); case "LastModifiedDate": return Optional.ofNullable(clazz.cast(lastModifiedDate()));
@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(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());
return Objects.equals(id(), other.id()) && Objects.equals(name(), other.name()) && Objects.equals(policies(), other.policies()) && Objects.equals(lambdaConfig(), other.lambdaConfig()) && Objects.equals(statusAsString(), other.statusAsString()) && Objects.equals(lastModifiedDate(), other.lastModifiedDate()) && Objects.equals(creationDate(), other.creationDate())
return Objects.equals(id(), other.id()) && Objects.equals(name(), other.name()) && Objects.equals(policies(), other.policies()) && Objects.equals(lambdaConfig(), other.lambdaConfig()) && Objects.equals(statusAsString(), other.statusAsString()) && Objects.equals(lastModifiedDate(), other.lastModifiedDate()) && Objects.equals(creationDate(), other.creationDate())
protocolMarshaller.marshall(userPoolType.policies(), POLICIES_BINDING); protocolMarshaller.marshall(userPoolType.lambdaConfig(), LAMBDACONFIG_BINDING); protocolMarshaller.marshall(userPoolType.statusAsString(), STATUS_BINDING); protocolMarshaller.marshall(userPoolType.lastModifiedDate(), LASTMODIFIEDDATE_BINDING); protocolMarshaller.marshall(userPoolType.creationDate(), CREATIONDATE_BINDING);