if (getStackId() != null) sb.append("StackId: ").append(getStackId()).append(","); if (getMissingOnRds() != null) sb.append("MissingOnRds: ").append(getMissingOnRds()); sb.append("}"); return sb.toString();
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRdsDbInstanceArn() == null) ? 0 : getRdsDbInstanceArn().hashCode()); hashCode = prime * hashCode + ((getDbInstanceIdentifier() == null) ? 0 : getDbInstanceIdentifier().hashCode()); hashCode = prime * hashCode + ((getDbUser() == null) ? 0 : getDbUser().hashCode()); hashCode = prime * hashCode + ((getDbPassword() == null) ? 0 : getDbPassword().hashCode()); hashCode = prime * hashCode + ((getRegion() == null) ? 0 : getRegion().hashCode()); hashCode = prime * hashCode + ((getAddress() == null) ? 0 : getAddress().hashCode()); hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode()); hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getMissingOnRds() == null) ? 0 : getMissingOnRds().hashCode()); return hashCode; }
if (other.getStackId() != null && other.getStackId().equals(this.getStackId()) == false) return false; if (other.getMissingOnRds() == null ^ this.getMissingOnRds() == null) return false; if (other.getMissingOnRds() != null && other.getMissingOnRds().equals(this.getMissingOnRds()) == false) return false; return true;
/** * Marshall the given parameter object. */ public void marshall(RdsDbInstance rdsDbInstance, ProtocolMarshaller protocolMarshaller) { if (rdsDbInstance == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(rdsDbInstance.getRdsDbInstanceArn(), RDSDBINSTANCEARN_BINDING); protocolMarshaller.marshall(rdsDbInstance.getDbInstanceIdentifier(), DBINSTANCEIDENTIFIER_BINDING); protocolMarshaller.marshall(rdsDbInstance.getDbUser(), DBUSER_BINDING); protocolMarshaller.marshall(rdsDbInstance.getDbPassword(), DBPASSWORD_BINDING); protocolMarshaller.marshall(rdsDbInstance.getRegion(), REGION_BINDING); protocolMarshaller.marshall(rdsDbInstance.getAddress(), ADDRESS_BINDING); protocolMarshaller.marshall(rdsDbInstance.getEngine(), ENGINE_BINDING); protocolMarshaller.marshall(rdsDbInstance.getStackId(), STACKID_BINDING); protocolMarshaller.marshall(rdsDbInstance.getMissingOnRds(), MISSINGONRDS_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
if (getStackId() != null) sb.append("StackId: ").append(getStackId()).append(","); if (getMissingOnRds() != null) sb.append("MissingOnRds: ").append(getMissingOnRds()); sb.append("}"); return sb.toString();
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRdsDbInstanceArn() == null) ? 0 : getRdsDbInstanceArn().hashCode()); hashCode = prime * hashCode + ((getDbInstanceIdentifier() == null) ? 0 : getDbInstanceIdentifier().hashCode()); hashCode = prime * hashCode + ((getDbUser() == null) ? 0 : getDbUser().hashCode()); hashCode = prime * hashCode + ((getDbPassword() == null) ? 0 : getDbPassword().hashCode()); hashCode = prime * hashCode + ((getRegion() == null) ? 0 : getRegion().hashCode()); hashCode = prime * hashCode + ((getAddress() == null) ? 0 : getAddress().hashCode()); hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode()); hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getMissingOnRds() == null) ? 0 : getMissingOnRds().hashCode()); return hashCode; }
if (other.getStackId() != null && other.getStackId().equals(this.getStackId()) == false) return false; if (other.getMissingOnRds() == null ^ this.getMissingOnRds() == null) return false; if (other.getMissingOnRds() != null && other.getMissingOnRds().equals(this.getMissingOnRds()) == false) return false; return true;
/** * Marshall the given parameter object. */ public void marshall(RdsDbInstance rdsDbInstance, ProtocolMarshaller protocolMarshaller) { if (rdsDbInstance == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(rdsDbInstance.getRdsDbInstanceArn(), RDSDBINSTANCEARN_BINDING); protocolMarshaller.marshall(rdsDbInstance.getDbInstanceIdentifier(), DBINSTANCEIDENTIFIER_BINDING); protocolMarshaller.marshall(rdsDbInstance.getDbUser(), DBUSER_BINDING); protocolMarshaller.marshall(rdsDbInstance.getDbPassword(), DBPASSWORD_BINDING); protocolMarshaller.marshall(rdsDbInstance.getRegion(), REGION_BINDING); protocolMarshaller.marshall(rdsDbInstance.getAddress(), ADDRESS_BINDING); protocolMarshaller.marshall(rdsDbInstance.getEngine(), ENGINE_BINDING); protocolMarshaller.marshall(rdsDbInstance.getStackId(), STACKID_BINDING); protocolMarshaller.marshall(rdsDbInstance.getMissingOnRds(), MISSINGONRDS_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }