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

shiver.me.timbers.aws.appstream.User Maven / Gradle / Ivy


package shiver.me.timbers.aws.appstream;

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;


/**
 * User
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "UserName", "FirstName", "MessageAction", "LastName", "AuthenticationType" }) public class User { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-username * */ @JsonProperty("UserName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-username") private CharSequence userName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-firstname * */ @JsonProperty("FirstName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-firstname") private CharSequence firstName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-messageaction * */ @JsonProperty("MessageAction") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-messageaction") private CharSequence messageAction; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-lastname * */ @JsonProperty("LastName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-lastname") private CharSequence lastName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-authenticationtype * */ @JsonProperty("AuthenticationType") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-authenticationtype") private CharSequence authenticationType; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-username * */ @JsonIgnore public CharSequence getUserName() { return userName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-username * */ @JsonIgnore public void setUserName(CharSequence userName) { this.userName = userName; } public User withUserName(CharSequence userName) { this.userName = userName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-firstname * */ @JsonIgnore public CharSequence getFirstName() { return firstName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-firstname * */ @JsonIgnore public void setFirstName(CharSequence firstName) { this.firstName = firstName; } public User withFirstName(CharSequence firstName) { this.firstName = firstName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-messageaction * */ @JsonIgnore public CharSequence getMessageAction() { return messageAction; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-messageaction * */ @JsonIgnore public void setMessageAction(CharSequence messageAction) { this.messageAction = messageAction; } public User withMessageAction(CharSequence messageAction) { this.messageAction = messageAction; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-lastname * */ @JsonIgnore public CharSequence getLastName() { return lastName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-lastname * */ @JsonIgnore public void setLastName(CharSequence lastName) { this.lastName = lastName; } public User withLastName(CharSequence lastName) { this.lastName = lastName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-authenticationtype * */ @JsonIgnore public CharSequence getAuthenticationType() { return authenticationType; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-authenticationtype * */ @JsonIgnore public void setAuthenticationType(CharSequence authenticationType) { this.authenticationType = authenticationType; } public User withAuthenticationType(CharSequence authenticationType) { this.authenticationType = authenticationType; return this; } @Override public String toString() { return new ToStringBuilder(this).append("userName", userName).append("firstName", firstName).append("messageAction", messageAction).append("lastName", lastName).append("authenticationType", authenticationType).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(firstName).append(lastName).append(authenticationType).append(userName).append(messageAction).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof User) == false) { return false; } User rhs = ((User) other); return new EqualsBuilder().append(firstName, rhs.firstName).append(lastName, rhs.lastName).append(authenticationType, rhs.authenticationType).append(userName, rhs.userName).append(messageAction, rhs.messageAction).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy