shiver.me.timbers.alexa.ask.SkillSkillPackage Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.alexa.ask;
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;
/**
* SkillSkillPackage
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"S3BucketRole",
"S3ObjectVersion",
"S3Bucket",
"S3Key",
"Overrides"
})
public class SkillSkillPackage implements Property
{
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucketrole
*
*/
@JsonProperty("S3BucketRole")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucketrole")
private CharSequence s3BucketRole;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3objectversion
*
*/
@JsonProperty("S3ObjectVersion")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3objectversion")
private CharSequence s3ObjectVersion;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucket
*
*/
@JsonProperty("S3Bucket")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucket")
private CharSequence s3Bucket;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3key
*
*/
@JsonProperty("S3Key")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3key")
private CharSequence s3Key;
/**
* SkillOverrides
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-overrides.html
*
*/
@JsonProperty("Overrides")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-overrides.html")
private Property overrides;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucketrole
*
*/
@JsonIgnore
public CharSequence getS3BucketRole() {
return s3BucketRole;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucketrole
*
*/
@JsonIgnore
public void setS3BucketRole(CharSequence s3BucketRole) {
this.s3BucketRole = s3BucketRole;
}
public SkillSkillPackage withS3BucketRole(CharSequence s3BucketRole) {
this.s3BucketRole = s3BucketRole;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3objectversion
*
*/
@JsonIgnore
public CharSequence getS3ObjectVersion() {
return s3ObjectVersion;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3objectversion
*
*/
@JsonIgnore
public void setS3ObjectVersion(CharSequence s3ObjectVersion) {
this.s3ObjectVersion = s3ObjectVersion;
}
public SkillSkillPackage withS3ObjectVersion(CharSequence s3ObjectVersion) {
this.s3ObjectVersion = s3ObjectVersion;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucket
*
*/
@JsonIgnore
public CharSequence getS3Bucket() {
return s3Bucket;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucket
*
*/
@JsonIgnore
public void setS3Bucket(CharSequence s3Bucket) {
this.s3Bucket = s3Bucket;
}
public SkillSkillPackage withS3Bucket(CharSequence s3Bucket) {
this.s3Bucket = s3Bucket;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3key
*
*/
@JsonIgnore
public CharSequence getS3Key() {
return s3Key;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3key
*
*/
@JsonIgnore
public void setS3Key(CharSequence s3Key) {
this.s3Key = s3Key;
}
public SkillSkillPackage withS3Key(CharSequence s3Key) {
this.s3Key = s3Key;
return this;
}
/**
* SkillOverrides
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-overrides.html
*
*/
@JsonIgnore
public Property getOverrides() {
return overrides;
}
/**
* SkillOverrides
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-overrides.html
*
*/
@JsonIgnore
public void setOverrides(Property overrides) {
this.overrides = overrides;
}
public SkillSkillPackage withOverrides(Property overrides) {
this.overrides = overrides;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("s3BucketRole", s3BucketRole).append("s3ObjectVersion", s3ObjectVersion).append("s3Bucket", s3Bucket).append("s3Key", s3Key).append("overrides", overrides).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(s3ObjectVersion).append(s3Key).append(overrides).append(s3BucketRole).append(s3Bucket).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof SkillSkillPackage) == false) {
return false;
}
SkillSkillPackage rhs = ((SkillSkillPackage) other);
return new EqualsBuilder().append(s3ObjectVersion, rhs.s3ObjectVersion).append(s3Key, rhs.s3Key).append(overrides, rhs.overrides).append(s3BucketRole, rhs.s3BucketRole).append(s3Bucket, rhs.s3Bucket).isEquals();
}
}