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

shiver.me.timbers.aws.emr.InstanceFleetConfigConfiguration 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;


/**
 * InstanceFleetConfigConfiguration
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Classification", "ConfigurationProperties", "Configurations" }) public class InstanceFleetConfigConfiguration implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-classification * */ @JsonProperty("Classification") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-classification") private CharSequence classification; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurationproperties * */ @JsonProperty("ConfigurationProperties") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurationproperties") private Map configurationProperties; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurations * */ @JsonProperty("Configurations") @JsonDeserialize(as = java.util.LinkedHashSet.class) @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurations") private Set> configurations = new LinkedHashSet>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-classification * */ @JsonIgnore public CharSequence getClassification() { return classification; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-classification * */ @JsonIgnore public void setClassification(CharSequence classification) { this.classification = classification; } public InstanceFleetConfigConfiguration withClassification(CharSequence classification) { this.classification = classification; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurationproperties * */ @JsonIgnore public Map getConfigurationProperties() { return configurationProperties; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurationproperties * */ @JsonIgnore public void setConfigurationProperties(Map configurationProperties) { this.configurationProperties = configurationProperties; } public InstanceFleetConfigConfiguration withConfigurationProperties(Map configurationProperties) { this.configurationProperties = configurationProperties; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurations * */ @JsonIgnore public Set> getConfigurations() { return configurations; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurations * */ @JsonIgnore public void setConfigurations(Set> configurations) { this.configurations = configurations; } public InstanceFleetConfigConfiguration withConfigurations(Set> configurations) { this.configurations = configurations; return this; } @Override public java.lang.String toString() { return new ToStringBuilder(this).append("classification", classification).append("configurationProperties", configurationProperties).append("configurations", configurations).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(classification).append(configurationProperties).append(configurations).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof InstanceFleetConfigConfiguration) == false) { return false; } InstanceFleetConfigConfiguration rhs = ((InstanceFleetConfigConfiguration) other); return new EqualsBuilder().append(classification, rhs.classification).append(configurationProperties, rhs.configurationProperties).append(configurations, rhs.configurations).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy