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

shiver.me.timbers.aws.kinesisanalytics.ApplicationReferenceDataSourceS3ReferenceDataSource Maven / Gradle / Ivy


package shiver.me.timbers.aws.kinesisanalytics;

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;


/**
 * ApplicationReferenceDataSourceS3ReferenceDataSource
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "BucketARN", "FileKey", "ReferenceRoleARN" }) public class ApplicationReferenceDataSourceS3ReferenceDataSource implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-bucketarn * */ @JsonProperty("BucketARN") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-bucketarn") private CharSequence bucketARN; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-filekey * */ @JsonProperty("FileKey") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-filekey") private CharSequence fileKey; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-referencerolearn * */ @JsonProperty("ReferenceRoleARN") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-referencerolearn") private CharSequence referenceRoleARN; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-bucketarn * */ @JsonIgnore public CharSequence getBucketARN() { return bucketARN; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-bucketarn * */ @JsonIgnore public void setBucketARN(CharSequence bucketARN) { this.bucketARN = bucketARN; } public ApplicationReferenceDataSourceS3ReferenceDataSource withBucketARN(CharSequence bucketARN) { this.bucketARN = bucketARN; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-filekey * */ @JsonIgnore public CharSequence getFileKey() { return fileKey; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-filekey * */ @JsonIgnore public void setFileKey(CharSequence fileKey) { this.fileKey = fileKey; } public ApplicationReferenceDataSourceS3ReferenceDataSource withFileKey(CharSequence fileKey) { this.fileKey = fileKey; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-referencerolearn * */ @JsonIgnore public CharSequence getReferenceRoleARN() { return referenceRoleARN; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-referencerolearn * */ @JsonIgnore public void setReferenceRoleARN(CharSequence referenceRoleARN) { this.referenceRoleARN = referenceRoleARN; } public ApplicationReferenceDataSourceS3ReferenceDataSource withReferenceRoleARN(CharSequence referenceRoleARN) { this.referenceRoleARN = referenceRoleARN; return this; } @Override public String toString() { return new ToStringBuilder(this).append("bucketARN", bucketARN).append("fileKey", fileKey).append("referenceRoleARN", referenceRoleARN).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(fileKey).append(bucketARN).append(referenceRoleARN).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ApplicationReferenceDataSourceS3ReferenceDataSource) == false) { return false; } ApplicationReferenceDataSourceS3ReferenceDataSource rhs = ((ApplicationReferenceDataSourceS3ReferenceDataSource) other); return new EqualsBuilder().append(fileKey, rhs.fileKey).append(bucketARN, rhs.bucketARN).append(referenceRoleARN, rhs.referenceRoleARN).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy