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

shiver.me.timbers.aws.emr.ClusterApplication Maven / Gradle / Ivy

Go to download

This library is a complete mapping of the AWS CloudFormation Resource Specification into Java objects. The objects have been generated directly from the specification so should be a direct one to one mapping.

The newest version!

package shiver.me.timbers.aws.emr;

import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
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 com.fasterxml.jackson.databind.annotation.JsonDeserialize;
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;


/**
 * ClusterApplication
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "AdditionalInfo", "Args", "Name", "Version" }) public class ClusterApplication implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-additionalinfo * */ @JsonProperty("AdditionalInfo") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-additionalinfo") private Map additionalInfo; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-args * */ @JsonProperty("Args") @JsonDeserialize(as = java.util.LinkedHashSet.class) @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-args") private Set args = new LinkedHashSet(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-name * */ @JsonProperty("Name") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-name") private CharSequence name; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-version * */ @JsonProperty("Version") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-version") private CharSequence version; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-additionalinfo * */ @JsonIgnore public Map getAdditionalInfo() { return additionalInfo; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-additionalinfo * */ @JsonIgnore public void setAdditionalInfo(Map additionalInfo) { this.additionalInfo = additionalInfo; } public ClusterApplication withAdditionalInfo(Map additionalInfo) { this.additionalInfo = additionalInfo; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-args * */ @JsonIgnore public Set getArgs() { return args; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-args * */ @JsonIgnore public void setArgs(Set args) { this.args = args; } public ClusterApplication withArgs(Set args) { this.args = args; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-name * */ @JsonIgnore public CharSequence getName() { return name; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-name * */ @JsonIgnore public void setName(CharSequence name) { this.name = name; } public ClusterApplication withName(CharSequence name) { this.name = name; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-version * */ @JsonIgnore public CharSequence getVersion() { return version; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-version * */ @JsonIgnore public void setVersion(CharSequence version) { this.version = version; } public ClusterApplication withVersion(CharSequence version) { this.version = version; return this; } @Override public java.lang.String toString() { return new ToStringBuilder(this).append("additionalInfo", additionalInfo).append("args", args).append("name", name).append("version", version).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(additionalInfo).append(args).append(name).append(version).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ClusterApplication) == false) { return false; } ClusterApplication rhs = ((ClusterApplication) other); return new EqualsBuilder().append(additionalInfo, rhs.additionalInfo).append(args, rhs.args).append(name, rhs.name).append(version, rhs.version).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy