@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getOperationId() == null) ? 0 : getOperationId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getSubmittedDate() == null) ? 0 : getSubmittedDate().hashCode()); return hashCode; }
/** * <p> * The name of a domain. * </p> * * @param domainName * The name of a domain. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withDomainName(String domainName) { setDomainName(domainName); return this; }
/** * <p> * Detailed information on the status including possible errors. * </p> * * @param message * Detailed information on the status including possible errors. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withMessage(String message) { setMessage(message); return this; }
public GetOperationDetailResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetOperationDetailResult getOperationDetailResult = new GetOperationDetailResult(); if (context.testExpression("OperationId", targetDepth)) { context.nextToken(); getOperationDetailResult.setOperationId(context.getUnmarshaller(String.class).unmarshall(context)); getOperationDetailResult.setStatus(context.getUnmarshaller(String.class).unmarshall(context)); getOperationDetailResult.setMessage(context.getUnmarshaller(String.class).unmarshall(context)); getOperationDetailResult.setDomainName(context.getUnmarshaller(String.class).unmarshall(context)); getOperationDetailResult.setType(context.getUnmarshaller(String.class).unmarshall(context)); getOperationDetailResult.setSubmittedDate(DateJsonUnmarshallerFactory.getInstance("unixTimestamp").unmarshall(context));
/** * <p> * The identifier for the operation. * </p> * * @param operationId * The identifier for the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public GetOperationDetailResult withOperationId(String operationId) { setOperationId(operationId); return this; }
return false; GetOperationDetailResult other = (GetOperationDetailResult) obj; if (other.getOperationId() == null ^ this.getOperationId() == null) return false; if (other.getOperationId() != null && other.getOperationId().equals(this.getOperationId()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getMessage() == null ^ this.getMessage() == null) return false; if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) return false; if (other.getDomainName() == null ^ this.getDomainName() == null) return false; if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getSubmittedDate() == null ^ this.getSubmittedDate() == null) return false; if (other.getSubmittedDate() != null && other.getSubmittedDate().equals(this.getSubmittedDate()) == 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 (getOperationId() != null) sb.append("OperationId: ").append(getOperationId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getMessage() != null) sb.append("Message: ").append(getMessage()).append(","); if (getDomainName() != null) sb.append("DomainName: ").append(getDomainName()).append(","); if (getType() != null) sb.append("Type: ").append(getType()).append(","); if (getSubmittedDate() != null) sb.append("SubmittedDate: ").append(getSubmittedDate()); sb.append("}"); return sb.toString(); }