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

shiver.me.timbers.aws.elasticache.CacheCluster 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.elasticache;

import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
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;
import shiver.me.timbers.aws.Tag;


/**
 * CacheCluster
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "AZMode", "AutoMinorVersionUpgrade", "CacheNodeType", "CacheParameterGroupName", "CacheSecurityGroupNames", "CacheSubnetGroupName", "ClusterName", "Engine", "EngineVersion", "NotificationTopicArn", "NumCacheNodes", "Port", "PreferredAvailabilityZone", "PreferredAvailabilityZones", "PreferredMaintenanceWindow", "SnapshotArns", "SnapshotName", "SnapshotRetentionLimit", "SnapshotWindow", "Tags", "VpcSecurityGroupIds" }) public class CacheCluster { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-azmode * */ @JsonProperty("AZMode") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-azmode") private CharSequence aZMode; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-autominorversionupgrade * */ @JsonProperty("AutoMinorVersionUpgrade") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-autominorversionupgrade") private CharSequence autoMinorVersionUpgrade; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachenodetype * */ @JsonProperty("CacheNodeType") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachenodetype") private CharSequence cacheNodeType; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cacheparametergroupname * */ @JsonProperty("CacheParameterGroupName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cacheparametergroupname") private CharSequence cacheParameterGroupName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesecuritygroupnames * */ @JsonProperty("CacheSecurityGroupNames") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesecuritygroupnames") private List cacheSecurityGroupNames = new ArrayList(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesubnetgroupname * */ @JsonProperty("CacheSubnetGroupName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesubnetgroupname") private CharSequence cacheSubnetGroupName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-clustername * */ @JsonProperty("ClusterName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-clustername") private CharSequence clusterName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engine * */ @JsonProperty("Engine") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engine") private CharSequence engine; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engineversion * */ @JsonProperty("EngineVersion") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engineversion") private CharSequence engineVersion; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-notificationtopicarn * */ @JsonProperty("NotificationTopicArn") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-notificationtopicarn") private CharSequence notificationTopicArn; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-numcachenodes * */ @JsonProperty("NumCacheNodes") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-numcachenodes") private Number numCacheNodes; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-port * */ @JsonProperty("Port") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-port") private Number port; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzone * */ @JsonProperty("PreferredAvailabilityZone") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzone") private CharSequence preferredAvailabilityZone; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzones * */ @JsonProperty("PreferredAvailabilityZones") @JsonDeserialize(as = java.util.LinkedHashSet.class) @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzones") private Set preferredAvailabilityZones = new LinkedHashSet(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredmaintenancewindow * */ @JsonProperty("PreferredMaintenanceWindow") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredmaintenancewindow") private CharSequence preferredMaintenanceWindow; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotarns * */ @JsonProperty("SnapshotArns") @JsonDeserialize(as = java.util.LinkedHashSet.class) @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotarns") private Set snapshotArns = new LinkedHashSet(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotname * */ @JsonProperty("SnapshotName") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotname") private CharSequence snapshotName; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotretentionlimit * */ @JsonProperty("SnapshotRetentionLimit") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotretentionlimit") private Number snapshotRetentionLimit; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotwindow * */ @JsonProperty("SnapshotWindow") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotwindow") private CharSequence snapshotWindow; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-tags * */ @JsonProperty("Tags") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-tags") private List> tags = new ArrayList>(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-vpcsecuritygroupids * */ @JsonProperty("VpcSecurityGroupIds") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-vpcsecuritygroupids") private List vpcSecurityGroupIds = new ArrayList(); /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-azmode * */ @JsonIgnore public CharSequence getAZMode() { return aZMode; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-azmode * */ @JsonIgnore public void setAZMode(CharSequence aZMode) { this.aZMode = aZMode; } public CacheCluster withAZMode(CharSequence aZMode) { this.aZMode = aZMode; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-autominorversionupgrade * */ @JsonIgnore public CharSequence getAutoMinorVersionUpgrade() { return autoMinorVersionUpgrade; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-autominorversionupgrade * */ @JsonIgnore public void setAutoMinorVersionUpgrade(CharSequence autoMinorVersionUpgrade) { this.autoMinorVersionUpgrade = autoMinorVersionUpgrade; } public CacheCluster withAutoMinorVersionUpgrade(CharSequence autoMinorVersionUpgrade) { this.autoMinorVersionUpgrade = autoMinorVersionUpgrade; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachenodetype * */ @JsonIgnore public CharSequence getCacheNodeType() { return cacheNodeType; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachenodetype * */ @JsonIgnore public void setCacheNodeType(CharSequence cacheNodeType) { this.cacheNodeType = cacheNodeType; } public CacheCluster withCacheNodeType(CharSequence cacheNodeType) { this.cacheNodeType = cacheNodeType; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cacheparametergroupname * */ @JsonIgnore public CharSequence getCacheParameterGroupName() { return cacheParameterGroupName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cacheparametergroupname * */ @JsonIgnore public void setCacheParameterGroupName(CharSequence cacheParameterGroupName) { this.cacheParameterGroupName = cacheParameterGroupName; } public CacheCluster withCacheParameterGroupName(CharSequence cacheParameterGroupName) { this.cacheParameterGroupName = cacheParameterGroupName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesecuritygroupnames * */ @JsonIgnore public List getCacheSecurityGroupNames() { return cacheSecurityGroupNames; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesecuritygroupnames * */ @JsonIgnore public void setCacheSecurityGroupNames(List cacheSecurityGroupNames) { this.cacheSecurityGroupNames = cacheSecurityGroupNames; } public CacheCluster withCacheSecurityGroupNames(List cacheSecurityGroupNames) { this.cacheSecurityGroupNames = cacheSecurityGroupNames; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesubnetgroupname * */ @JsonIgnore public CharSequence getCacheSubnetGroupName() { return cacheSubnetGroupName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesubnetgroupname * */ @JsonIgnore public void setCacheSubnetGroupName(CharSequence cacheSubnetGroupName) { this.cacheSubnetGroupName = cacheSubnetGroupName; } public CacheCluster withCacheSubnetGroupName(CharSequence cacheSubnetGroupName) { this.cacheSubnetGroupName = cacheSubnetGroupName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-clustername * */ @JsonIgnore public CharSequence getClusterName() { return clusterName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-clustername * */ @JsonIgnore public void setClusterName(CharSequence clusterName) { this.clusterName = clusterName; } public CacheCluster withClusterName(CharSequence clusterName) { this.clusterName = clusterName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engine * */ @JsonIgnore public CharSequence getEngine() { return engine; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engine * */ @JsonIgnore public void setEngine(CharSequence engine) { this.engine = engine; } public CacheCluster withEngine(CharSequence engine) { this.engine = engine; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engineversion * */ @JsonIgnore public CharSequence getEngineVersion() { return engineVersion; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engineversion * */ @JsonIgnore public void setEngineVersion(CharSequence engineVersion) { this.engineVersion = engineVersion; } public CacheCluster withEngineVersion(CharSequence engineVersion) { this.engineVersion = engineVersion; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-notificationtopicarn * */ @JsonIgnore public CharSequence getNotificationTopicArn() { return notificationTopicArn; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-notificationtopicarn * */ @JsonIgnore public void setNotificationTopicArn(CharSequence notificationTopicArn) { this.notificationTopicArn = notificationTopicArn; } public CacheCluster withNotificationTopicArn(CharSequence notificationTopicArn) { this.notificationTopicArn = notificationTopicArn; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-numcachenodes * */ @JsonIgnore public Number getNumCacheNodes() { return numCacheNodes; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-numcachenodes * */ @JsonIgnore public void setNumCacheNodes(Number numCacheNodes) { this.numCacheNodes = numCacheNodes; } public CacheCluster withNumCacheNodes(Number numCacheNodes) { this.numCacheNodes = numCacheNodes; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-port * */ @JsonIgnore public Number getPort() { return port; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-port * */ @JsonIgnore public void setPort(Number port) { this.port = port; } public CacheCluster withPort(Number port) { this.port = port; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzone * */ @JsonIgnore public CharSequence getPreferredAvailabilityZone() { return preferredAvailabilityZone; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzone * */ @JsonIgnore public void setPreferredAvailabilityZone(CharSequence preferredAvailabilityZone) { this.preferredAvailabilityZone = preferredAvailabilityZone; } public CacheCluster withPreferredAvailabilityZone(CharSequence preferredAvailabilityZone) { this.preferredAvailabilityZone = preferredAvailabilityZone; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzones * */ @JsonIgnore public Set getPreferredAvailabilityZones() { return preferredAvailabilityZones; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzones * */ @JsonIgnore public void setPreferredAvailabilityZones(Set preferredAvailabilityZones) { this.preferredAvailabilityZones = preferredAvailabilityZones; } public CacheCluster withPreferredAvailabilityZones(Set preferredAvailabilityZones) { this.preferredAvailabilityZones = preferredAvailabilityZones; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredmaintenancewindow * */ @JsonIgnore public CharSequence getPreferredMaintenanceWindow() { return preferredMaintenanceWindow; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredmaintenancewindow * */ @JsonIgnore public void setPreferredMaintenanceWindow(CharSequence preferredMaintenanceWindow) { this.preferredMaintenanceWindow = preferredMaintenanceWindow; } public CacheCluster withPreferredMaintenanceWindow(CharSequence preferredMaintenanceWindow) { this.preferredMaintenanceWindow = preferredMaintenanceWindow; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotarns * */ @JsonIgnore public Set getSnapshotArns() { return snapshotArns; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotarns * */ @JsonIgnore public void setSnapshotArns(Set snapshotArns) { this.snapshotArns = snapshotArns; } public CacheCluster withSnapshotArns(Set snapshotArns) { this.snapshotArns = snapshotArns; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotname * */ @JsonIgnore public CharSequence getSnapshotName() { return snapshotName; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotname * */ @JsonIgnore public void setSnapshotName(CharSequence snapshotName) { this.snapshotName = snapshotName; } public CacheCluster withSnapshotName(CharSequence snapshotName) { this.snapshotName = snapshotName; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotretentionlimit * */ @JsonIgnore public Number getSnapshotRetentionLimit() { return snapshotRetentionLimit; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotretentionlimit * */ @JsonIgnore public void setSnapshotRetentionLimit(Number snapshotRetentionLimit) { this.snapshotRetentionLimit = snapshotRetentionLimit; } public CacheCluster withSnapshotRetentionLimit(Number snapshotRetentionLimit) { this.snapshotRetentionLimit = snapshotRetentionLimit; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotwindow * */ @JsonIgnore public CharSequence getSnapshotWindow() { return snapshotWindow; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotwindow * */ @JsonIgnore public void setSnapshotWindow(CharSequence snapshotWindow) { this.snapshotWindow = snapshotWindow; } public CacheCluster withSnapshotWindow(CharSequence snapshotWindow) { this.snapshotWindow = snapshotWindow; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-tags * */ @JsonIgnore public List> getTags() { return tags; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-tags * */ @JsonIgnore public void setTags(List> tags) { this.tags = tags; } public CacheCluster withTags(List> tags) { this.tags = tags; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-vpcsecuritygroupids * */ @JsonIgnore public List getVpcSecurityGroupIds() { return vpcSecurityGroupIds; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-vpcsecuritygroupids * */ @JsonIgnore public void setVpcSecurityGroupIds(List vpcSecurityGroupIds) { this.vpcSecurityGroupIds = vpcSecurityGroupIds; } public CacheCluster withVpcSecurityGroupIds(List vpcSecurityGroupIds) { this.vpcSecurityGroupIds = vpcSecurityGroupIds; return this; } @Override public String toString() { return new ToStringBuilder(this).append("aZMode", aZMode).append("autoMinorVersionUpgrade", autoMinorVersionUpgrade).append("cacheNodeType", cacheNodeType).append("cacheParameterGroupName", cacheParameterGroupName).append("cacheSecurityGroupNames", cacheSecurityGroupNames).append("cacheSubnetGroupName", cacheSubnetGroupName).append("clusterName", clusterName).append("engine", engine).append("engineVersion", engineVersion).append("notificationTopicArn", notificationTopicArn).append("numCacheNodes", numCacheNodes).append("port", port).append("preferredAvailabilityZone", preferredAvailabilityZone).append("preferredAvailabilityZones", preferredAvailabilityZones).append("preferredMaintenanceWindow", preferredMaintenanceWindow).append("snapshotArns", snapshotArns).append("snapshotName", snapshotName).append("snapshotRetentionLimit", snapshotRetentionLimit).append("snapshotWindow", snapshotWindow).append("tags", tags).append("vpcSecurityGroupIds", vpcSecurityGroupIds).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(engineVersion).append(vpcSecurityGroupIds).append(aZMode).append(cacheSubnetGroupName).append(preferredAvailabilityZones).append(preferredAvailabilityZone).append(snapshotWindow).append(snapshotArns).append(snapshotRetentionLimit).append(numCacheNodes).append(tags).append(cacheNodeType).append(engine).append(port).append(cacheSecurityGroupNames).append(notificationTopicArn).append(clusterName).append(preferredMaintenanceWindow).append(snapshotName).append(autoMinorVersionUpgrade).append(cacheParameterGroupName).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof CacheCluster) == false) { return false; } CacheCluster rhs = ((CacheCluster) other); return new EqualsBuilder().append(engineVersion, rhs.engineVersion).append(vpcSecurityGroupIds, rhs.vpcSecurityGroupIds).append(aZMode, rhs.aZMode).append(cacheSubnetGroupName, rhs.cacheSubnetGroupName).append(preferredAvailabilityZones, rhs.preferredAvailabilityZones).append(preferredAvailabilityZone, rhs.preferredAvailabilityZone).append(snapshotWindow, rhs.snapshotWindow).append(snapshotArns, rhs.snapshotArns).append(snapshotRetentionLimit, rhs.snapshotRetentionLimit).append(numCacheNodes, rhs.numCacheNodes).append(tags, rhs.tags).append(cacheNodeType, rhs.cacheNodeType).append(engine, rhs.engine).append(port, rhs.port).append(cacheSecurityGroupNames, rhs.cacheSecurityGroupNames).append(notificationTopicArn, rhs.notificationTopicArn).append(clusterName, rhs.clusterName).append(preferredMaintenanceWindow, rhs.preferredMaintenanceWindow).append(snapshotName, rhs.snapshotName).append(autoMinorVersionUpgrade, rhs.autoMinorVersionUpgrade).append(cacheParameterGroupName, rhs.cacheParameterGroupName).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy