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

shiver.me.timbers.aws.gamelift.Script 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;


/**
 * Script
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Version", "StorageLocation", "Name" }) public class Script { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-version * */ @JsonProperty("Version") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-version") private CharSequence version; /** * ScriptS3Location *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html * */ @JsonProperty("StorageLocation") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html") private Property storageLocation; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-name * */ @JsonProperty("Name") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-name") private CharSequence name; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-version * */ @JsonIgnore public CharSequence getVersion() { return version; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-version * */ @JsonIgnore public void setVersion(CharSequence version) { this.version = version; } public Script withVersion(CharSequence version) { this.version = version; return this; } /** * ScriptS3Location *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html * */ @JsonIgnore public Property getStorageLocation() { return storageLocation; } /** * ScriptS3Location *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html * */ @JsonIgnore public void setStorageLocation(Property storageLocation) { this.storageLocation = storageLocation; } public Script withStorageLocation(Property storageLocation) { this.storageLocation = storageLocation; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-name * */ @JsonIgnore public CharSequence getName() { return name; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-name * */ @JsonIgnore public void setName(CharSequence name) { this.name = name; } public Script withName(CharSequence name) { this.name = name; return this; } @Override public String toString() { return new ToStringBuilder(this).append("version", version).append("storageLocation", storageLocation).append("name", name).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(name).append(storageLocation).append(version).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof Script) == false) { return false; } Script rhs = ((Script) other); return new EqualsBuilder().append(name, rhs.name).append(storageLocation, rhs.storageLocation).append(version, rhs.version).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy