@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAutoMinorVersionUpgrade() == null) ? 0 : getAutoMinorVersionUpgrade().hashCode()); hashCode = prime * hashCode + ((getBrokerArn() == null) ? 0 : getBrokerArn().hashCode()); hashCode = prime * hashCode + ((getBrokerId() == null) ? 0 : getBrokerId().hashCode()); hashCode = prime * hashCode + ((getBrokerInstances() == null) ? 0 : getBrokerInstances().hashCode()); hashCode = prime * hashCode + ((getBrokerName() == null) ? 0 : getBrokerName().hashCode()); hashCode = prime * hashCode + ((getBrokerState() == null) ? 0 : getBrokerState().hashCode()); hashCode = prime * hashCode + ((getConfigurations() == null) ? 0 : getConfigurations().hashCode()); hashCode = prime * hashCode + ((getCreated() == null) ? 0 : getCreated().hashCode()); hashCode = prime * hashCode + ((getDeploymentMode() == null) ? 0 : getDeploymentMode().hashCode()); hashCode = prime * hashCode + ((getEngineType() == null) ? 0 : getEngineType().hashCode()); hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getHostInstanceType() == null) ? 0 : getHostInstanceType().hashCode()); hashCode = prime * hashCode + ((getLogs() == null) ? 0 : getLogs().hashCode()); hashCode = prime * hashCode + ((getMaintenanceWindowStartTime() == null) ? 0 : getMaintenanceWindowStartTime().hashCode()); hashCode = prime * hashCode + ((getPendingEngineVersion() == null) ? 0 : getPendingEngineVersion().hashCode()); hashCode = prime * hashCode + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode()); hashCode = prime * hashCode + ((getSecurityGroups() == null) ? 0 : getSecurityGroups().hashCode()); hashCode = prime * hashCode + ((getSubnetIds() == null) ? 0 : getSubnetIds().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getUsers() == null) ? 0 : getUsers().hashCode()); return hashCode; }
public DescribeBrokerResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeBrokerResult describeBrokerResult = new DescribeBrokerResult(); if (context.testExpression("autoMinorVersionUpgrade", targetDepth)) { context.nextToken(); describeBrokerResult.setAutoMinorVersionUpgrade(context.getUnmarshaller(Boolean.class).unmarshall(context)); describeBrokerResult.setBrokerArn(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setBrokerId(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setBrokerInstances(new ListUnmarshaller<BrokerInstance>(BrokerInstanceJsonUnmarshaller.getInstance()) .unmarshall(context)); describeBrokerResult.setBrokerName(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setBrokerState(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setConfigurations(ConfigurationsJsonUnmarshaller.getInstance().unmarshall(context)); describeBrokerResult.setCreated(DateJsonUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); describeBrokerResult.setDeploymentMode(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setEngineType(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setEngineVersion(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setHostInstanceType(context.getUnmarshaller(String.class).unmarshall(context));
public DescribeBrokerResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeBrokerResult describeBrokerResult = new DescribeBrokerResult(); if (context.testExpression("autoMinorVersionUpgrade", targetDepth)) { context.nextToken(); describeBrokerResult.setAutoMinorVersionUpgrade(context.getUnmarshaller(Boolean.class).unmarshall(context)); describeBrokerResult.setBrokerArn(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setBrokerId(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setBrokerInstances(new ListUnmarshaller<BrokerInstance>(BrokerInstanceJsonUnmarshaller.getInstance()) .unmarshall(context)); describeBrokerResult.setBrokerName(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setBrokerState(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setConfigurations(ConfigurationsJsonUnmarshaller.getInstance().unmarshall(context)); describeBrokerResult.setCreated(DateJsonUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); describeBrokerResult.setDeploymentMode(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setEngineType(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setEngineVersion(context.getUnmarshaller(String.class).unmarshall(context)); describeBrokerResult.setHostInstanceType(context.getUnmarshaller(String.class).unmarshall(context));
return false; DescribeBrokerResult other = (DescribeBrokerResult) obj; if (other.getAutoMinorVersionUpgrade() == null ^ this.getAutoMinorVersionUpgrade() == null) return false; if (other.getAutoMinorVersionUpgrade() != null && other.getAutoMinorVersionUpgrade().equals(this.getAutoMinorVersionUpgrade()) == false) return false; if (other.getBrokerArn() == null ^ this.getBrokerArn() == null) return false; if (other.getBrokerArn() != null && other.getBrokerArn().equals(this.getBrokerArn()) == false) return false; if (other.getBrokerId() == null ^ this.getBrokerId() == null) return false; if (other.getBrokerId() != null && other.getBrokerId().equals(this.getBrokerId()) == false) return false; if (other.getBrokerInstances() == null ^ this.getBrokerInstances() == null) return false; if (other.getBrokerInstances() != null && other.getBrokerInstances().equals(this.getBrokerInstances()) == false) return false; if (other.getBrokerName() == null ^ this.getBrokerName() == null) return false; if (other.getBrokerName() != null && other.getBrokerName().equals(this.getBrokerName()) == false) return false; if (other.getBrokerState() == null ^ this.getBrokerState() == null) return false; if (other.getBrokerState() != null && other.getBrokerState().equals(this.getBrokerState()) == false) return false; if (other.getConfigurations() == null ^ this.getConfigurations() == null) return false; if (other.getConfigurations() != null && other.getConfigurations().equals(this.getConfigurations()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAutoMinorVersionUpgrade() != null) sb.append("AutoMinorVersionUpgrade: ").append(getAutoMinorVersionUpgrade()).append(","); if (getBrokerArn() != null) sb.append("BrokerArn: ").append(getBrokerArn()).append(","); if (getBrokerId() != null) sb.append("BrokerId: ").append(getBrokerId()).append(","); if (getBrokerInstances() != null) sb.append("BrokerInstances: ").append(getBrokerInstances()).append(","); if (getBrokerName() != null) sb.append("BrokerName: ").append(getBrokerName()).append(","); if (getBrokerState() != null) sb.append("BrokerState: ").append(getBrokerState()).append(","); if (getConfigurations() != null) sb.append("Configurations: ").append(getConfigurations()).append(","); if (getCreated() != null) sb.append("Created: ").append(getCreated()).append(","); if (getDeploymentMode() != null) sb.append("DeploymentMode: ").append(getDeploymentMode()).append(","); if (getEngineType() != null) sb.append("EngineType: ").append(getEngineType()).append(","); if (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getHostInstanceType() != null) sb.append("HostInstanceType: ").append(getHostInstanceType()).append(","); if (getLogs() != null) sb.append("Logs: ").append(getLogs()).append(","); if (getMaintenanceWindowStartTime() != null)
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAutoMinorVersionUpgrade() == null) ? 0 : getAutoMinorVersionUpgrade().hashCode()); hashCode = prime * hashCode + ((getBrokerArn() == null) ? 0 : getBrokerArn().hashCode()); hashCode = prime * hashCode + ((getBrokerId() == null) ? 0 : getBrokerId().hashCode()); hashCode = prime * hashCode + ((getBrokerInstances() == null) ? 0 : getBrokerInstances().hashCode()); hashCode = prime * hashCode + ((getBrokerName() == null) ? 0 : getBrokerName().hashCode()); hashCode = prime * hashCode + ((getBrokerState() == null) ? 0 : getBrokerState().hashCode()); hashCode = prime * hashCode + ((getConfigurations() == null) ? 0 : getConfigurations().hashCode()); hashCode = prime * hashCode + ((getCreated() == null) ? 0 : getCreated().hashCode()); hashCode = prime * hashCode + ((getDeploymentMode() == null) ? 0 : getDeploymentMode().hashCode()); hashCode = prime * hashCode + ((getEngineType() == null) ? 0 : getEngineType().hashCode()); hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getHostInstanceType() == null) ? 0 : getHostInstanceType().hashCode()); hashCode = prime * hashCode + ((getLogs() == null) ? 0 : getLogs().hashCode()); hashCode = prime * hashCode + ((getMaintenanceWindowStartTime() == null) ? 0 : getMaintenanceWindowStartTime().hashCode()); hashCode = prime * hashCode + ((getPendingEngineVersion() == null) ? 0 : getPendingEngineVersion().hashCode()); hashCode = prime * hashCode + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode()); hashCode = prime * hashCode + ((getSecurityGroups() == null) ? 0 : getSecurityGroups().hashCode()); hashCode = prime * hashCode + ((getSubnetIds() == null) ? 0 : getSubnetIds().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getUsers() == null) ? 0 : getUsers().hashCode()); return hashCode; }
return false; DescribeBrokerResult other = (DescribeBrokerResult) obj; if (other.getAutoMinorVersionUpgrade() == null ^ this.getAutoMinorVersionUpgrade() == null) return false; if (other.getAutoMinorVersionUpgrade() != null && other.getAutoMinorVersionUpgrade().equals(this.getAutoMinorVersionUpgrade()) == false) return false; if (other.getBrokerArn() == null ^ this.getBrokerArn() == null) return false; if (other.getBrokerArn() != null && other.getBrokerArn().equals(this.getBrokerArn()) == false) return false; if (other.getBrokerId() == null ^ this.getBrokerId() == null) return false; if (other.getBrokerId() != null && other.getBrokerId().equals(this.getBrokerId()) == false) return false; if (other.getBrokerInstances() == null ^ this.getBrokerInstances() == null) return false; if (other.getBrokerInstances() != null && other.getBrokerInstances().equals(this.getBrokerInstances()) == false) return false; if (other.getBrokerName() == null ^ this.getBrokerName() == null) return false; if (other.getBrokerName() != null && other.getBrokerName().equals(this.getBrokerName()) == false) return false; if (other.getBrokerState() == null ^ this.getBrokerState() == null) return false; if (other.getBrokerState() != null && other.getBrokerState().equals(this.getBrokerState()) == false) return false; if (other.getConfigurations() == null ^ this.getConfigurations() == null) return false; if (other.getConfigurations() != null && other.getConfigurations().equals(this.getConfigurations()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAutoMinorVersionUpgrade() != null) sb.append("AutoMinorVersionUpgrade: ").append(getAutoMinorVersionUpgrade()).append(","); if (getBrokerArn() != null) sb.append("BrokerArn: ").append(getBrokerArn()).append(","); if (getBrokerId() != null) sb.append("BrokerId: ").append(getBrokerId()).append(","); if (getBrokerInstances() != null) sb.append("BrokerInstances: ").append(getBrokerInstances()).append(","); if (getBrokerName() != null) sb.append("BrokerName: ").append(getBrokerName()).append(","); if (getBrokerState() != null) sb.append("BrokerState: ").append(getBrokerState()).append(","); if (getConfigurations() != null) sb.append("Configurations: ").append(getConfigurations()).append(","); if (getCreated() != null) sb.append("Created: ").append(getCreated()).append(","); if (getDeploymentMode() != null) sb.append("DeploymentMode: ").append(getDeploymentMode()).append(","); if (getEngineType() != null) sb.append("EngineType: ").append(getEngineType()).append(","); if (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getHostInstanceType() != null) sb.append("HostInstanceType: ").append(getHostInstanceType()).append(","); if (getLogs() != null) sb.append("Logs: ").append(getLogs()).append(","); if (getMaintenanceWindowStartTime() != null)