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

shiver.me.timbers.aws.s3.BucketInventoryConfiguration 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.s3;

import java.util.LinkedHashSet;
import java.util.Set;
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 com.fasterxml.jackson.databind.annotation.JsonDeserialize;
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;


/**
 * BucketInventoryConfiguration
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "Destination", "Enabled", "Id", "IncludedObjectVersions", "OptionalFields", "Prefix", "ScheduleFrequency" }) public class BucketInventoryConfiguration implements Property { /** * BucketDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html * */ @JsonProperty("Destination") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html") private Property destination; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-enabled * */ @JsonProperty("Enabled") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-enabled") private CharSequence enabled; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-id * */ @JsonProperty("Id") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-id") private CharSequence id; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-includedobjectversions * */ @JsonProperty("IncludedObjectVersions") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-includedobjectversions") private CharSequence includedObjectVersions; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-optionalfields * */ @JsonProperty("OptionalFields") @JsonDeserialize(as = java.util.LinkedHashSet.class) @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-optionalfields") private Set optionalFields = new LinkedHashSet(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-prefix * */ @JsonProperty("Prefix") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-prefix") private CharSequence prefix; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-schedulefrequency * */ @JsonProperty("ScheduleFrequency") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-schedulefrequency") private CharSequence scheduleFrequency; /** * BucketDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html * */ @JsonIgnore public Property getDestination() { return destination; } /** * BucketDestination *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html * */ @JsonIgnore public void setDestination(Property destination) { this.destination = destination; } public BucketInventoryConfiguration withDestination(Property destination) { this.destination = destination; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-enabled * */ @JsonIgnore public CharSequence getEnabled() { return enabled; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-enabled * */ @JsonIgnore public void setEnabled(CharSequence enabled) { this.enabled = enabled; } public BucketInventoryConfiguration withEnabled(CharSequence enabled) { this.enabled = enabled; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-id * */ @JsonIgnore public CharSequence getId() { return id; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-id * */ @JsonIgnore public void setId(CharSequence id) { this.id = id; } public BucketInventoryConfiguration withId(CharSequence id) { this.id = id; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-includedobjectversions * */ @JsonIgnore public CharSequence getIncludedObjectVersions() { return includedObjectVersions; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-includedobjectversions * */ @JsonIgnore public void setIncludedObjectVersions(CharSequence includedObjectVersions) { this.includedObjectVersions = includedObjectVersions; } public BucketInventoryConfiguration withIncludedObjectVersions(CharSequence includedObjectVersions) { this.includedObjectVersions = includedObjectVersions; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-optionalfields * */ @JsonIgnore public Set getOptionalFields() { return optionalFields; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-optionalfields * */ @JsonIgnore public void setOptionalFields(Set optionalFields) { this.optionalFields = optionalFields; } public BucketInventoryConfiguration withOptionalFields(Set optionalFields) { this.optionalFields = optionalFields; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-prefix * */ @JsonIgnore public CharSequence getPrefix() { return prefix; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-prefix * */ @JsonIgnore public void setPrefix(CharSequence prefix) { this.prefix = prefix; } public BucketInventoryConfiguration withPrefix(CharSequence prefix) { this.prefix = prefix; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-schedulefrequency * */ @JsonIgnore public CharSequence getScheduleFrequency() { return scheduleFrequency; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-schedulefrequency * */ @JsonIgnore public void setScheduleFrequency(CharSequence scheduleFrequency) { this.scheduleFrequency = scheduleFrequency; } public BucketInventoryConfiguration withScheduleFrequency(CharSequence scheduleFrequency) { this.scheduleFrequency = scheduleFrequency; return this; } @Override public String toString() { return new ToStringBuilder(this).append("destination", destination).append("enabled", enabled).append("id", id).append("includedObjectVersions", includedObjectVersions).append("optionalFields", optionalFields).append("prefix", prefix).append("scheduleFrequency", scheduleFrequency).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(scheduleFrequency).append(includedObjectVersions).append(prefix).append(destination).append(id).append(enabled).append(optionalFields).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof BucketInventoryConfiguration) == false) { return false; } BucketInventoryConfiguration rhs = ((BucketInventoryConfiguration) other); return new EqualsBuilder().append(scheduleFrequency, rhs.scheduleFrequency).append(includedObjectVersions, rhs.includedObjectVersions).append(prefix, rhs.prefix).append(destination, rhs.destination).append(id, rhs.id).append(enabled, rhs.enabled).append(optionalFields, rhs.optionalFields).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy