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

shiver.me.timbers.aws.glue.TriggerAction 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;


/**
 * TriggerAction
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "JobName", "Arguments", "SecurityConfiguration" }) public class TriggerAction implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-jobname * */ @JsonProperty("JobName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-jobname") private CharSequence jobName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-arguments * */ @JsonProperty("Arguments") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-arguments") private Object arguments; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-securityconfiguration * */ @JsonProperty("SecurityConfiguration") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-securityconfiguration") private CharSequence securityConfiguration; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-jobname * */ @JsonIgnore public CharSequence getJobName() { return jobName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-jobname * */ @JsonIgnore public void setJobName(CharSequence jobName) { this.jobName = jobName; } public TriggerAction withJobName(CharSequence jobName) { this.jobName = jobName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-arguments * */ @JsonIgnore public Object getArguments() { return arguments; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-arguments * */ @JsonIgnore public void setArguments(Object arguments) { this.arguments = arguments; } public TriggerAction withArguments(Object arguments) { this.arguments = arguments; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-securityconfiguration * */ @JsonIgnore public CharSequence getSecurityConfiguration() { return securityConfiguration; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-securityconfiguration * */ @JsonIgnore public void setSecurityConfiguration(CharSequence securityConfiguration) { this.securityConfiguration = securityConfiguration; } public TriggerAction withSecurityConfiguration(CharSequence securityConfiguration) { this.securityConfiguration = securityConfiguration; return this; } @Override public String toString() { return new ToStringBuilder(this).append("jobName", jobName).append("arguments", arguments).append("securityConfiguration", securityConfiguration).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(jobName).append(arguments).append(securityConfiguration).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof TriggerAction) == false) { return false; } TriggerAction rhs = ((TriggerAction) other); return new EqualsBuilder().append(jobName, rhs.jobName).append(arguments, rhs.arguments).append(securityConfiguration, rhs.securityConfiguration).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy