@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); hashCode = prime * hashCode + ((getDBClusters() == null) ? 0 : getDBClusters().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeDBClustersResult == false) return false; DescribeDBClustersResult other = (DescribeDBClustersResult) obj; if (other.getMarker() == null ^ this.getMarker() == null) return false; if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false) return false; if (other.getDBClusters() == null ^ this.getDBClusters() == null) return false; if (other.getDBClusters() != null && other.getDBClusters().equals(this.getDBClusters()) == false) return false; return true; }
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getMarker() != null) sb.append("Marker: ").append(getMarker()).append(","); if (getDBClusters() != null) sb.append("DBClusters: ").append(getDBClusters()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); hashCode = prime * hashCode + ((getDBClusters() == null) ? 0 : getDBClusters().hashCode()); return hashCode; }
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getMarker() != null) sb.append("Marker: ").append(getMarker()).append(","); if (getDBClusters() != null) sb.append("DBClusters: ").append(getDBClusters()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeDBClustersResult == false) return false; DescribeDBClustersResult other = (DescribeDBClustersResult) obj; if (other.getMarker() == null ^ this.getMarker() == null) return false; if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false) return false; if (other.getDBClusters() == null ^ this.getDBClusters() == null) return false; if (other.getDBClusters() != null && other.getDBClusters().equals(this.getDBClusters()) == false) return false; return true; }
DescribeDBClustersResult dir = rds.describeDBClusters(new DescribeDBClustersRequest() .withDBClusterIdentifier(dbClusterIdentifier)); DBCluster dbCluster = dir.getDBClusters().get(0);
do{ rslt = rdsClient.describeDBClusters( new DescribeDBClustersRequest().withMarker(nextMarker)); List<DBCluster> rdsListTemp = rslt.getDBClusters(); for(DBCluster cluster : rdsListTemp){ DBClusterVH vh = new DBClusterVH(cluster,rdsClient.listTagsForResource(new ListTagsForResourceRequest().
log.debug("Performing RDS request: {}", dbClustersRequest); clustersResult = client.describeDBClusters(dbClustersRequest); final List<DBCluster> clusters = clustersResult.getDBClusters(); log.debug("Found {} DB clusters", clusters.size()); for (DBCluster cluster : clusters) {