All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shiver.me.timbers.aws.cognito.UserPoolUser Maven / Gradle / Ivy


package shiver.me.timbers.aws.cognito;

import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;


/**
 * UserPoolUser
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "ValidationData", "UserPoolId", "Username", "MessageAction", "DesiredDeliveryMediums", "ForceAliasCreation", "UserAttributes" }) public class UserPoolUser { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-validationdata * */ @JsonProperty("ValidationData") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-validationdata") private List> validationData = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userpoolid * */ @JsonProperty("UserPoolId") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userpoolid") private CharSequence userPoolId; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-username * */ @JsonProperty("Username") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-username") private CharSequence username; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-messageaction * */ @JsonProperty("MessageAction") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-messageaction") private CharSequence messageAction; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-desireddeliverymediums * */ @JsonProperty("DesiredDeliveryMediums") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-desireddeliverymediums") private List desiredDeliveryMediums = new ArrayList(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-forcealiascreation * */ @JsonProperty("ForceAliasCreation") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-forcealiascreation") private CharSequence forceAliasCreation; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userattributes * */ @JsonProperty("UserAttributes") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userattributes") private List> userAttributes = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-validationdata * */ @JsonIgnore public List> getValidationData() { return validationData; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-validationdata * */ @JsonIgnore public void setValidationData(List> validationData) { this.validationData = validationData; } public UserPoolUser withValidationData(List> validationData) { this.validationData = validationData; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userpoolid * */ @JsonIgnore public CharSequence getUserPoolId() { return userPoolId; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userpoolid * */ @JsonIgnore public void setUserPoolId(CharSequence userPoolId) { this.userPoolId = userPoolId; } public UserPoolUser withUserPoolId(CharSequence userPoolId) { this.userPoolId = userPoolId; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-username * */ @JsonIgnore public CharSequence getUsername() { return username; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-username * */ @JsonIgnore public void setUsername(CharSequence username) { this.username = username; } public UserPoolUser withUsername(CharSequence username) { this.username = username; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-messageaction * */ @JsonIgnore public CharSequence getMessageAction() { return messageAction; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-messageaction * */ @JsonIgnore public void setMessageAction(CharSequence messageAction) { this.messageAction = messageAction; } public UserPoolUser withMessageAction(CharSequence messageAction) { this.messageAction = messageAction; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-desireddeliverymediums * */ @JsonIgnore public List getDesiredDeliveryMediums() { return desiredDeliveryMediums; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-desireddeliverymediums * */ @JsonIgnore public void setDesiredDeliveryMediums(List desiredDeliveryMediums) { this.desiredDeliveryMediums = desiredDeliveryMediums; } public UserPoolUser withDesiredDeliveryMediums(List desiredDeliveryMediums) { this.desiredDeliveryMediums = desiredDeliveryMediums; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-forcealiascreation * */ @JsonIgnore public CharSequence getForceAliasCreation() { return forceAliasCreation; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-forcealiascreation * */ @JsonIgnore public void setForceAliasCreation(CharSequence forceAliasCreation) { this.forceAliasCreation = forceAliasCreation; } public UserPoolUser withForceAliasCreation(CharSequence forceAliasCreation) { this.forceAliasCreation = forceAliasCreation; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userattributes * */ @JsonIgnore public List> getUserAttributes() { return userAttributes; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userattributes * */ @JsonIgnore public void setUserAttributes(List> userAttributes) { this.userAttributes = userAttributes; } public UserPoolUser withUserAttributes(List> userAttributes) { this.userAttributes = userAttributes; return this; } @Override public String toString() { return new ToStringBuilder(this).append("validationData", validationData).append("userPoolId", userPoolId).append("username", username).append("messageAction", messageAction).append("desiredDeliveryMediums", desiredDeliveryMediums).append("forceAliasCreation", forceAliasCreation).append("userAttributes", userAttributes).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(userAttributes).append(desiredDeliveryMediums).append(messageAction).append(forceAliasCreation).append(userPoolId).append(validationData).append(username).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof UserPoolUser) == false) { return false; } UserPoolUser rhs = ((UserPoolUser) other); return new EqualsBuilder().append(userAttributes, rhs.userAttributes).append(desiredDeliveryMediums, rhs.desiredDeliveryMediums).append(messageAction, rhs.messageAction).append(forceAliasCreation, rhs.forceAliasCreation).append(userPoolId, rhs.userPoolId).append(validationData, rhs.validationData).append(username, rhs.username).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy