@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSnapshotIdentifierList() == null) ? 0 : getSnapshotIdentifierList().hashCode()); hashCode = prime * hashCode + ((getManualSnapshotRetentionPeriod() == null) ? 0 : getManualSnapshotRetentionPeriod().hashCode()); hashCode = prime * hashCode + ((getForce() == null) ? 0 : getForce().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 (getSnapshotIdentifierList() != null) sb.append("SnapshotIdentifierList: ").append(getSnapshotIdentifierList()).append(","); if (getManualSnapshotRetentionPeriod() != null) sb.append("ManualSnapshotRetentionPeriod: ").append(getManualSnapshotRetentionPeriod()).append(","); if (getForce() != null) sb.append("Force: ").append(getForce()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof BatchModifyClusterSnapshotsRequest == false) return false; BatchModifyClusterSnapshotsRequest other = (BatchModifyClusterSnapshotsRequest) obj; if (other.getSnapshotIdentifierList() == null ^ this.getSnapshotIdentifierList() == null) return false; if (other.getSnapshotIdentifierList() != null && other.getSnapshotIdentifierList().equals(this.getSnapshotIdentifierList()) == false) return false; if (other.getManualSnapshotRetentionPeriod() == null ^ this.getManualSnapshotRetentionPeriod() == null) return false; if (other.getManualSnapshotRetentionPeriod() != null && other.getManualSnapshotRetentionPeriod().equals(this.getManualSnapshotRetentionPeriod()) == false) return false; if (other.getForce() == null ^ this.getForce() == null) return false; if (other.getForce() != null && other.getForce().equals(this.getForce()) == false) return false; return true; }
if (batchModifyClusterSnapshotsRequest.getManualSnapshotRetentionPeriod() != null) { request.addParameter("ManualSnapshotRetentionPeriod", StringUtils.fromInteger(batchModifyClusterSnapshotsRequest.getManualSnapshotRetentionPeriod()));
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSnapshotIdentifierList() == null) ? 0 : getSnapshotIdentifierList().hashCode()); hashCode = prime * hashCode + ((getManualSnapshotRetentionPeriod() == null) ? 0 : getManualSnapshotRetentionPeriod().hashCode()); hashCode = prime * hashCode + ((getForce() == null) ? 0 : getForce().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 (getSnapshotIdentifierList() != null) sb.append("SnapshotIdentifierList: ").append(getSnapshotIdentifierList()).append(","); if (getManualSnapshotRetentionPeriod() != null) sb.append("ManualSnapshotRetentionPeriod: ").append(getManualSnapshotRetentionPeriod()).append(","); if (getForce() != null) sb.append("Force: ").append(getForce()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof BatchModifyClusterSnapshotsRequest == false) return false; BatchModifyClusterSnapshotsRequest other = (BatchModifyClusterSnapshotsRequest) obj; if (other.getSnapshotIdentifierList() == null ^ this.getSnapshotIdentifierList() == null) return false; if (other.getSnapshotIdentifierList() != null && other.getSnapshotIdentifierList().equals(this.getSnapshotIdentifierList()) == false) return false; if (other.getManualSnapshotRetentionPeriod() == null ^ this.getManualSnapshotRetentionPeriod() == null) return false; if (other.getManualSnapshotRetentionPeriod() != null && other.getManualSnapshotRetentionPeriod().equals(this.getManualSnapshotRetentionPeriod()) == false) return false; if (other.getForce() == null ^ this.getForce() == null) return false; if (other.getForce() != null && other.getForce().equals(this.getForce()) == false) return false; return true; }
if (batchModifyClusterSnapshotsRequest.getManualSnapshotRetentionPeriod() != null) { request.addParameter("ManualSnapshotRetentionPeriod", StringUtils.fromInteger(batchModifyClusterSnapshotsRequest.getManualSnapshotRetentionPeriod()));