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

shiver.me.timbers.aws.events.RuleTarget Maven / Gradle / Ivy


package shiver.me.timbers.aws.events;

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;


/**
 * RuleTarget
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Arn", "BatchParameters", "EcsParameters", "HttpParameters", "Id", "Input", "InputPath", "InputTransformer", "KinesisParameters", "RoleArn", "RunCommandParameters", "SqsParameters" }) public class RuleTarget implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-arn * */ @JsonProperty("Arn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-arn") private CharSequence arn; /** * RuleBatchParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html * */ @JsonProperty("BatchParameters") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html") private Property batchParameters; /** * RuleEcsParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html * */ @JsonProperty("EcsParameters") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html") private Property ecsParameters; /** * RuleHttpParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html * */ @JsonProperty("HttpParameters") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html") private Property httpParameters; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-id * */ @JsonProperty("Id") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-id") private CharSequence id; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-input * */ @JsonProperty("Input") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-input") private CharSequence input; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-inputpath * */ @JsonProperty("InputPath") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-inputpath") private CharSequence inputPath; /** * RuleInputTransformer *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-inputtransformer.html * */ @JsonProperty("InputTransformer") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-inputtransformer.html") private Property inputTransformer; /** * RuleKinesisParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-kinesisparameters.html * */ @JsonProperty("KinesisParameters") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-kinesisparameters.html") private Property kinesisParameters; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-rolearn * */ @JsonProperty("RoleArn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-rolearn") private CharSequence roleArn; /** * RuleRunCommandParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html * */ @JsonProperty("RunCommandParameters") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html") private Property runCommandParameters; /** * RuleSqsParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sqsparameters.html * */ @JsonProperty("SqsParameters") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sqsparameters.html") private Property sqsParameters; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-arn * */ @JsonIgnore public CharSequence getArn() { return arn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-arn * */ @JsonIgnore public void setArn(CharSequence arn) { this.arn = arn; } public RuleTarget withArn(CharSequence arn) { this.arn = arn; return this; } /** * RuleBatchParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html * */ @JsonIgnore public Property getBatchParameters() { return batchParameters; } /** * RuleBatchParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html * */ @JsonIgnore public void setBatchParameters(Property batchParameters) { this.batchParameters = batchParameters; } public RuleTarget withBatchParameters(Property batchParameters) { this.batchParameters = batchParameters; return this; } /** * RuleEcsParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html * */ @JsonIgnore public Property getEcsParameters() { return ecsParameters; } /** * RuleEcsParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html * */ @JsonIgnore public void setEcsParameters(Property ecsParameters) { this.ecsParameters = ecsParameters; } public RuleTarget withEcsParameters(Property ecsParameters) { this.ecsParameters = ecsParameters; return this; } /** * RuleHttpParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html * */ @JsonIgnore public Property getHttpParameters() { return httpParameters; } /** * RuleHttpParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html * */ @JsonIgnore public void setHttpParameters(Property httpParameters) { this.httpParameters = httpParameters; } public RuleTarget withHttpParameters(Property httpParameters) { this.httpParameters = httpParameters; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-id * */ @JsonIgnore public CharSequence getId() { return id; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-id * */ @JsonIgnore public void setId(CharSequence id) { this.id = id; } public RuleTarget withId(CharSequence id) { this.id = id; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-input * */ @JsonIgnore public CharSequence getInput() { return input; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-input * */ @JsonIgnore public void setInput(CharSequence input) { this.input = input; } public RuleTarget withInput(CharSequence input) { this.input = input; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-inputpath * */ @JsonIgnore public CharSequence getInputPath() { return inputPath; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-inputpath * */ @JsonIgnore public void setInputPath(CharSequence inputPath) { this.inputPath = inputPath; } public RuleTarget withInputPath(CharSequence inputPath) { this.inputPath = inputPath; return this; } /** * RuleInputTransformer *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-inputtransformer.html * */ @JsonIgnore public Property getInputTransformer() { return inputTransformer; } /** * RuleInputTransformer *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-inputtransformer.html * */ @JsonIgnore public void setInputTransformer(Property inputTransformer) { this.inputTransformer = inputTransformer; } public RuleTarget withInputTransformer(Property inputTransformer) { this.inputTransformer = inputTransformer; return this; } /** * RuleKinesisParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-kinesisparameters.html * */ @JsonIgnore public Property getKinesisParameters() { return kinesisParameters; } /** * RuleKinesisParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-kinesisparameters.html * */ @JsonIgnore public void setKinesisParameters(Property kinesisParameters) { this.kinesisParameters = kinesisParameters; } public RuleTarget withKinesisParameters(Property kinesisParameters) { this.kinesisParameters = kinesisParameters; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-rolearn * */ @JsonIgnore public CharSequence getRoleArn() { return roleArn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-rolearn * */ @JsonIgnore public void setRoleArn(CharSequence roleArn) { this.roleArn = roleArn; } public RuleTarget withRoleArn(CharSequence roleArn) { this.roleArn = roleArn; return this; } /** * RuleRunCommandParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html * */ @JsonIgnore public Property getRunCommandParameters() { return runCommandParameters; } /** * RuleRunCommandParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html * */ @JsonIgnore public void setRunCommandParameters(Property runCommandParameters) { this.runCommandParameters = runCommandParameters; } public RuleTarget withRunCommandParameters(Property runCommandParameters) { this.runCommandParameters = runCommandParameters; return this; } /** * RuleSqsParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sqsparameters.html * */ @JsonIgnore public Property getSqsParameters() { return sqsParameters; } /** * RuleSqsParameters *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sqsparameters.html * */ @JsonIgnore public void setSqsParameters(Property sqsParameters) { this.sqsParameters = sqsParameters; } public RuleTarget withSqsParameters(Property sqsParameters) { this.sqsParameters = sqsParameters; return this; } @Override public String toString() { return new ToStringBuilder(this).append("arn", arn).append("batchParameters", batchParameters).append("ecsParameters", ecsParameters).append("httpParameters", httpParameters).append("id", id).append("input", input).append("inputPath", inputPath).append("inputTransformer", inputTransformer).append("kinesisParameters", kinesisParameters).append("roleArn", roleArn).append("runCommandParameters", runCommandParameters).append("sqsParameters", sqsParameters).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(runCommandParameters).append(batchParameters).append(kinesisParameters).append(inputTransformer).append(input).append(inputPath).append(sqsParameters).append(ecsParameters).append(roleArn).append(id).append(arn).append(httpParameters).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof RuleTarget) == false) { return false; } RuleTarget rhs = ((RuleTarget) other); return new EqualsBuilder().append(runCommandParameters, rhs.runCommandParameters).append(batchParameters, rhs.batchParameters).append(kinesisParameters, rhs.kinesisParameters).append(inputTransformer, rhs.inputTransformer).append(input, rhs.input).append(inputPath, rhs.inputPath).append(sqsParameters, rhs.sqsParameters).append(ecsParameters, rhs.ecsParameters).append(roleArn, rhs.roleArn).append(id, rhs.id).append(arn, rhs.arn).append(httpParameters, rhs.httpParameters).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy