shiver.me.timbers.aws.robomaker.SimulationApplicationSourceConfig Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.robomaker;
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;
/**
* SimulationApplicationSourceConfig
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"S3Bucket",
"Architecture",
"S3Key"
})
public class SimulationApplicationSourceConfig implements Property
{
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3bucket
*
*/
@JsonProperty("S3Bucket")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3bucket")
private CharSequence s3Bucket;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-architecture
*
*/
@JsonProperty("Architecture")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-architecture")
private CharSequence architecture;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3key
*
*/
@JsonProperty("S3Key")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3key")
private CharSequence s3Key;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3bucket
*
*/
@JsonIgnore
public CharSequence getS3Bucket() {
return s3Bucket;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3bucket
*
*/
@JsonIgnore
public void setS3Bucket(CharSequence s3Bucket) {
this.s3Bucket = s3Bucket;
}
public SimulationApplicationSourceConfig withS3Bucket(CharSequence s3Bucket) {
this.s3Bucket = s3Bucket;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-architecture
*
*/
@JsonIgnore
public CharSequence getArchitecture() {
return architecture;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-architecture
*
*/
@JsonIgnore
public void setArchitecture(CharSequence architecture) {
this.architecture = architecture;
}
public SimulationApplicationSourceConfig withArchitecture(CharSequence architecture) {
this.architecture = architecture;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3key
*
*/
@JsonIgnore
public CharSequence getS3Key() {
return s3Key;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3key
*
*/
@JsonIgnore
public void setS3Key(CharSequence s3Key) {
this.s3Key = s3Key;
}
public SimulationApplicationSourceConfig withS3Key(CharSequence s3Key) {
this.s3Key = s3Key;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("s3Bucket", s3Bucket).append("architecture", architecture).append("s3Key", s3Key).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(s3Key).append(s3Bucket).append(architecture).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof SimulationApplicationSourceConfig) == false) {
return false;
}
SimulationApplicationSourceConfig rhs = ((SimulationApplicationSourceConfig) other);
return new EqualsBuilder().append(s3Key, rhs.s3Key).append(s3Bucket, rhs.s3Bucket).append(architecture, rhs.architecture).isEquals();
}
}