if (getCacheSecurityGroups() != null) sb.append("CacheSecurityGroups: ").append(getCacheSecurityGroups()).append(","); if (getCacheParameterGroup() != null) sb.append("CacheParameterGroup: ").append(getCacheParameterGroup()).append(","); if (getCacheSubnetGroupName() != null) sb.append("CacheSubnetGroupName: ").append(getCacheSubnetGroupName()).append(",");
hashCode = prime * hashCode + ((getNotificationConfiguration() == null) ? 0 : getNotificationConfiguration().hashCode()); hashCode = prime * hashCode + ((getCacheSecurityGroups() == null) ? 0 : getCacheSecurityGroups().hashCode()); hashCode = prime * hashCode + ((getCacheParameterGroup() == null) ? 0 : getCacheParameterGroup().hashCode()); hashCode = prime * hashCode + ((getCacheSubnetGroupName() == null) ? 0 : getCacheSubnetGroupName().hashCode()); hashCode = prime * hashCode + ((getCacheNodes() == null) ? 0 : getCacheNodes().hashCode());
if (other.getCacheSecurityGroups() != null && other.getCacheSecurityGroups().equals(this.getCacheSecurityGroups()) == false) return false; if (other.getCacheParameterGroup() == null ^ this.getCacheParameterGroup() == null) return false; if (other.getCacheParameterGroup() != null && other.getCacheParameterGroup().equals(this.getCacheParameterGroup()) == false) return false; if (other.getCacheSubnetGroupName() == null ^ this.getCacheSubnetGroupName() == null)
if (getCacheSecurityGroups() != null) sb.append("CacheSecurityGroups: ").append(getCacheSecurityGroups()).append(","); if (getCacheParameterGroup() != null) sb.append("CacheParameterGroup: ").append(getCacheParameterGroup()).append(","); if (getCacheSubnetGroupName() != null) sb.append("CacheSubnetGroupName: ").append(getCacheSubnetGroupName()).append(",");
elastiCacheVH.setParameterGroup(cluster.getCacheParameterGroup().getCacheParameterGroupName()+"("+cluster.getCacheParameterGroup().getParameterApplyStatus()+")"); elastiCacheVH.setCluster(cluster); String engine = cluster.getEngine();
hashCode = prime * hashCode + ((getNotificationConfiguration() == null) ? 0 : getNotificationConfiguration().hashCode()); hashCode = prime * hashCode + ((getCacheSecurityGroups() == null) ? 0 : getCacheSecurityGroups().hashCode()); hashCode = prime * hashCode + ((getCacheParameterGroup() == null) ? 0 : getCacheParameterGroup().hashCode()); hashCode = prime * hashCode + ((getCacheSubnetGroupName() == null) ? 0 : getCacheSubnetGroupName().hashCode()); hashCode = prime * hashCode + ((getCacheNodes() == null) ? 0 : getCacheNodes().hashCode());
if (other.getCacheSecurityGroups() != null && other.getCacheSecurityGroups().equals(this.getCacheSecurityGroups()) == false) return false; if (other.getCacheParameterGroup() == null ^ this.getCacheParameterGroup() == null) return false; if (other.getCacheParameterGroup() != null && other.getCacheParameterGroup().equals(this.getCacheParameterGroup()) == false) return false; if (other.getCacheSubnetGroupName() == null ^ this.getCacheSubnetGroupName() == null)
this.cacheParameterGroup = cacheCluster.getCacheParameterGroup().toString(); this.cacheSubnetGroupName = cacheCluster.getCacheSubnetGroupName(); this.cacheNodes = cacheCluster.getCacheNodes().toString();