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

shiver.me.timbers.aws.glue.JobJobCommand Maven / Gradle / Ivy


package shiver.me.timbers.aws.glue;

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;


/**
 * JobJobCommand
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "PythonVersion", "ScriptLocation", "Name" }) public class JobJobCommand implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-pythonversion * */ @JsonProperty("PythonVersion") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-pythonversion") private CharSequence pythonVersion; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-scriptlocation * */ @JsonProperty("ScriptLocation") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-scriptlocation") private CharSequence scriptLocation; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-name * */ @JsonProperty("Name") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-name") private CharSequence name; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-pythonversion * */ @JsonIgnore public CharSequence getPythonVersion() { return pythonVersion; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-pythonversion * */ @JsonIgnore public void setPythonVersion(CharSequence pythonVersion) { this.pythonVersion = pythonVersion; } public JobJobCommand withPythonVersion(CharSequence pythonVersion) { this.pythonVersion = pythonVersion; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-scriptlocation * */ @JsonIgnore public CharSequence getScriptLocation() { return scriptLocation; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-scriptlocation * */ @JsonIgnore public void setScriptLocation(CharSequence scriptLocation) { this.scriptLocation = scriptLocation; } public JobJobCommand withScriptLocation(CharSequence scriptLocation) { this.scriptLocation = scriptLocation; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-name * */ @JsonIgnore public CharSequence getName() { return name; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-name * */ @JsonIgnore public void setName(CharSequence name) { this.name = name; } public JobJobCommand withName(CharSequence name) { this.name = name; return this; } @Override public String toString() { return new ToStringBuilder(this).append("pythonVersion", pythonVersion).append("scriptLocation", scriptLocation).append("name", name).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(pythonVersion).append(name).append(scriptLocation).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof JobJobCommand) == false) { return false; } JobJobCommand rhs = ((JobJobCommand) other); return new EqualsBuilder().append(pythonVersion, rhs.pythonVersion).append(name, rhs.name).append(scriptLocation, rhs.scriptLocation).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy