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

shiver.me.timbers.aws.ses.ReceiptRuleS3Action Maven / Gradle / Ivy

Go to download

This library is a complete mapping of the AWS CloudFormation Resource Specification into Java objects. The objects have been generated directly from the specification so should be a direct one to one mapping.

The newest version!

package shiver.me.timbers.aws.ses;

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;


/**
 * ReceiptRuleS3Action
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "BucketName", "KmsKeyArn", "TopicArn", "ObjectKeyPrefix" }) public class ReceiptRuleS3Action implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-bucketname * */ @JsonProperty("BucketName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-bucketname") private CharSequence bucketName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn * */ @JsonProperty("KmsKeyArn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn") private CharSequence kmsKeyArn; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-topicarn * */ @JsonProperty("TopicArn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-topicarn") private CharSequence topicArn; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-objectkeyprefix * */ @JsonProperty("ObjectKeyPrefix") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-objectkeyprefix") private CharSequence objectKeyPrefix; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-bucketname * */ @JsonIgnore public CharSequence getBucketName() { return bucketName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-bucketname * */ @JsonIgnore public void setBucketName(CharSequence bucketName) { this.bucketName = bucketName; } public ReceiptRuleS3Action withBucketName(CharSequence bucketName) { this.bucketName = bucketName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn * */ @JsonIgnore public CharSequence getKmsKeyArn() { return kmsKeyArn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn * */ @JsonIgnore public void setKmsKeyArn(CharSequence kmsKeyArn) { this.kmsKeyArn = kmsKeyArn; } public ReceiptRuleS3Action withKmsKeyArn(CharSequence kmsKeyArn) { this.kmsKeyArn = kmsKeyArn; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-topicarn * */ @JsonIgnore public CharSequence getTopicArn() { return topicArn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-topicarn * */ @JsonIgnore public void setTopicArn(CharSequence topicArn) { this.topicArn = topicArn; } public ReceiptRuleS3Action withTopicArn(CharSequence topicArn) { this.topicArn = topicArn; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-objectkeyprefix * */ @JsonIgnore public CharSequence getObjectKeyPrefix() { return objectKeyPrefix; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-objectkeyprefix * */ @JsonIgnore public void setObjectKeyPrefix(CharSequence objectKeyPrefix) { this.objectKeyPrefix = objectKeyPrefix; } public ReceiptRuleS3Action withObjectKeyPrefix(CharSequence objectKeyPrefix) { this.objectKeyPrefix = objectKeyPrefix; return this; } @Override public String toString() { return new ToStringBuilder(this).append("bucketName", bucketName).append("kmsKeyArn", kmsKeyArn).append("topicArn", topicArn).append("objectKeyPrefix", objectKeyPrefix).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(bucketName).append(objectKeyPrefix).append(kmsKeyArn).append(topicArn).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ReceiptRuleS3Action) == false) { return false; } ReceiptRuleS3Action rhs = ((ReceiptRuleS3Action) other); return new EqualsBuilder().append(bucketName, rhs.bucketName).append(objectKeyPrefix, rhs.objectKeyPrefix).append(kmsKeyArn, rhs.kmsKeyArn).append(topicArn, rhs.topicArn).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy