/** * 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 (getState() != null) sb.append("State: ").append(getState()).append(","); if (getCreationDateTime() != null) sb.append("CreationDateTime: ").append(getCreationDateTime()).append(","); if (getStartDateTime() != null) sb.append("StartDateTime: ").append(getStartDateTime()).append(","); if (getReadyDateTime() != null) sb.append("ReadyDateTime: ").append(getReadyDateTime()).append(","); if (getEndDateTime() != null) sb.append("EndDateTime: ").append(getEndDateTime()).append(","); if (getLastStateChangeReason() != null) sb.append("LastStateChangeReason: ").append(getLastStateChangeReason()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getState() == null) ? 0 : getState().hashCode()); hashCode = prime * hashCode + ((getCreationDateTime() == null) ? 0 : getCreationDateTime().hashCode()); hashCode = prime * hashCode + ((getStartDateTime() == null) ? 0 : getStartDateTime().hashCode()); hashCode = prime * hashCode + ((getReadyDateTime() == null) ? 0 : getReadyDateTime().hashCode()); hashCode = prime * hashCode + ((getEndDateTime() == null) ? 0 : getEndDateTime().hashCode()); hashCode = prime * hashCode + ((getLastStateChangeReason() == null) ? 0 : getLastStateChangeReason().hashCode()); return hashCode; }
if (other.getStartDateTime() != null && other.getStartDateTime().equals(this.getStartDateTime()) == false) return false; if (other.getReadyDateTime() == null ^ this.getReadyDateTime() == null) return false; if (other.getReadyDateTime() != null && other.getReadyDateTime().equals(this.getReadyDateTime()) == false) return false; if (other.getEndDateTime() == null ^ this.getEndDateTime() == null)
/** * Marshall the given parameter object. */ public void marshall(JobFlowExecutionStatusDetail jobFlowExecutionStatusDetail, ProtocolMarshaller protocolMarshaller) { if (jobFlowExecutionStatusDetail == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getState(), STATE_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getCreationDateTime(), CREATIONDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getStartDateTime(), STARTDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getReadyDateTime(), READYDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getEndDateTime(), ENDDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getLastStateChangeReason(), LASTSTATECHANGEREASON_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getState() == null) ? 0 : getState().hashCode()); hashCode = prime * hashCode + ((getCreationDateTime() == null) ? 0 : getCreationDateTime().hashCode()); hashCode = prime * hashCode + ((getStartDateTime() == null) ? 0 : getStartDateTime().hashCode()); hashCode = prime * hashCode + ((getReadyDateTime() == null) ? 0 : getReadyDateTime().hashCode()); hashCode = prime * hashCode + ((getEndDateTime() == null) ? 0 : getEndDateTime().hashCode()); hashCode = prime * hashCode + ((getLastStateChangeReason() == null) ? 0 : getLastStateChangeReason().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 (getState() != null) sb.append("State: ").append(getState()).append(","); if (getCreationDateTime() != null) sb.append("CreationDateTime: ").append(getCreationDateTime()).append(","); if (getStartDateTime() != null) sb.append("StartDateTime: ").append(getStartDateTime()).append(","); if (getReadyDateTime() != null) sb.append("ReadyDateTime: ").append(getReadyDateTime()).append(","); if (getEndDateTime() != null) sb.append("EndDateTime: ").append(getEndDateTime()).append(","); if (getLastStateChangeReason() != null) sb.append("LastStateChangeReason: ").append(getLastStateChangeReason()); sb.append("}"); return sb.toString(); }
if (other.getStartDateTime() != null && other.getStartDateTime().equals(this.getStartDateTime()) == false) return false; if (other.getReadyDateTime() == null ^ this.getReadyDateTime() == null) return false; if (other.getReadyDateTime() != null && other.getReadyDateTime().equals(this.getReadyDateTime()) == false) return false; if (other.getEndDateTime() == null ^ this.getEndDateTime() == null)
/** * Marshall the given parameter object. */ public void marshall(JobFlowExecutionStatusDetail jobFlowExecutionStatusDetail, ProtocolMarshaller protocolMarshaller) { if (jobFlowExecutionStatusDetail == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getState(), STATE_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getCreationDateTime(), CREATIONDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getStartDateTime(), STARTDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getReadyDateTime(), READYDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getEndDateTime(), ENDDATETIME_BINDING); protocolMarshaller.marshall(jobFlowExecutionStatusDetail.getLastStateChangeReason(), LASTSTATECHANGEREASON_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }