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

shiver.me.timbers.aws.gamelift.ScriptS3Location Maven / Gradle / Ivy


package shiver.me.timbers.aws.gamelift;

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;


/**
 * ScriptS3Location
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "ObjectVersion", "Bucket", "Key", "RoleArn" }) public class ScriptS3Location implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-objectversion * */ @JsonProperty("ObjectVersion") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-objectversion") private CharSequence objectVersion; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-bucket * */ @JsonProperty("Bucket") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-bucket") private CharSequence bucket; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-key * */ @JsonProperty("Key") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-key") private CharSequence key; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-rolearn * */ @JsonProperty("RoleArn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-rolearn") private CharSequence roleArn; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-objectversion * */ @JsonIgnore public CharSequence getObjectVersion() { return objectVersion; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-objectversion * */ @JsonIgnore public void setObjectVersion(CharSequence objectVersion) { this.objectVersion = objectVersion; } public ScriptS3Location withObjectVersion(CharSequence objectVersion) { this.objectVersion = objectVersion; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-bucket * */ @JsonIgnore public CharSequence getBucket() { return bucket; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-bucket * */ @JsonIgnore public void setBucket(CharSequence bucket) { this.bucket = bucket; } public ScriptS3Location withBucket(CharSequence bucket) { this.bucket = bucket; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-key * */ @JsonIgnore public CharSequence getKey() { return key; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-key * */ @JsonIgnore public void setKey(CharSequence key) { this.key = key; } public ScriptS3Location withKey(CharSequence key) { this.key = key; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-rolearn * */ @JsonIgnore public CharSequence getRoleArn() { return roleArn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-rolearn * */ @JsonIgnore public void setRoleArn(CharSequence roleArn) { this.roleArn = roleArn; } public ScriptS3Location withRoleArn(CharSequence roleArn) { this.roleArn = roleArn; return this; } @Override public String toString() { return new ToStringBuilder(this).append("objectVersion", objectVersion).append("bucket", bucket).append("key", key).append("roleArn", roleArn).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(objectVersion).append(bucket).append(key).append(roleArn).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ScriptS3Location) == false) { return false; } ScriptS3Location rhs = ((ScriptS3Location) other); return new EqualsBuilder().append(objectVersion, rhs.objectVersion).append(bucket, rhs.bucket).append(key, rhs.key).append(roleArn, rhs.roleArn).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy