* The output Amazon Resource Name (ARN) of the Earth Observation job being exported. *
*/ private String arn; /** ** The creation time. *
*/ private java.util.Date creationTime; /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
*/ private String executionRoleArn; /** ** The source images provided to the Earth Observation job being exported. *
*/ private Boolean exportSourceImages; /** ** The status of the results of the Earth Observation job being exported. *
*/ private String exportStatus; /** ** An object containing information about the output file. *
*/ private OutputConfigInput outputConfig; /** ** The output Amazon Resource Name (ARN) of the Earth Observation job being exported. *
* * @param arn * The output Amazon Resource Name (ARN) of the Earth Observation job being exported. */ public void setArn(String arn) { this.arn = arn; } /** ** The output Amazon Resource Name (ARN) of the Earth Observation job being exported. *
* * @return The output Amazon Resource Name (ARN) of the Earth Observation job being exported. */ public String getArn() { return this.arn; } /** ** The output Amazon Resource Name (ARN) of the Earth Observation job being exported. *
* * @param arn * The output Amazon Resource Name (ARN) of the Earth Observation job being exported. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportEarthObservationJobResult withArn(String arn) { setArn(arn); return this; } /** ** The creation time. *
* * @param creationTime * The creation time. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The creation time. *
* * @return The creation time. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The creation time. *
* * @param creationTime * The creation time. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportEarthObservationJobResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
* * @param executionRoleArn * The Amazon Resource Name (ARN) of the IAM role that you specified for the job. */ public void setExecutionRoleArn(String executionRoleArn) { this.executionRoleArn = executionRoleArn; } /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
* * @return The Amazon Resource Name (ARN) of the IAM role that you specified for the job. */ public String getExecutionRoleArn() { return this.executionRoleArn; } /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
* * @param executionRoleArn * The Amazon Resource Name (ARN) of the IAM role that you specified for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportEarthObservationJobResult withExecutionRoleArn(String executionRoleArn) { setExecutionRoleArn(executionRoleArn); return this; } /** ** The source images provided to the Earth Observation job being exported. *
* * @param exportSourceImages * The source images provided to the Earth Observation job being exported. */ public void setExportSourceImages(Boolean exportSourceImages) { this.exportSourceImages = exportSourceImages; } /** ** The source images provided to the Earth Observation job being exported. *
* * @return The source images provided to the Earth Observation job being exported. */ public Boolean getExportSourceImages() { return this.exportSourceImages; } /** ** The source images provided to the Earth Observation job being exported. *
* * @param exportSourceImages * The source images provided to the Earth Observation job being exported. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportEarthObservationJobResult withExportSourceImages(Boolean exportSourceImages) { setExportSourceImages(exportSourceImages); return this; } /** ** The source images provided to the Earth Observation job being exported. *
* * @return The source images provided to the Earth Observation job being exported. */ public Boolean isExportSourceImages() { return this.exportSourceImages; } /** ** The status of the results of the Earth Observation job being exported. *
* * @param exportStatus * The status of the results of the Earth Observation job being exported. * @see EarthObservationJobExportStatus */ public void setExportStatus(String exportStatus) { this.exportStatus = exportStatus; } /** ** The status of the results of the Earth Observation job being exported. *
* * @return The status of the results of the Earth Observation job being exported. * @see EarthObservationJobExportStatus */ public String getExportStatus() { return this.exportStatus; } /** ** The status of the results of the Earth Observation job being exported. *
* * @param exportStatus * The status of the results of the Earth Observation job being exported. * @return Returns a reference to this object so that method calls can be chained together. * @see EarthObservationJobExportStatus */ public ExportEarthObservationJobResult withExportStatus(String exportStatus) { setExportStatus(exportStatus); return this; } /** ** The status of the results of the Earth Observation job being exported. *
* * @param exportStatus * The status of the results of the Earth Observation job being exported. * @return Returns a reference to this object so that method calls can be chained together. * @see EarthObservationJobExportStatus */ public ExportEarthObservationJobResult withExportStatus(EarthObservationJobExportStatus exportStatus) { this.exportStatus = exportStatus.toString(); return this; } /** ** An object containing information about the output file. *
* * @param outputConfig * An object containing information about the output file. */ public void setOutputConfig(OutputConfigInput outputConfig) { this.outputConfig = outputConfig; } /** ** An object containing information about the output file. *
* * @return An object containing information about the output file. */ public OutputConfigInput getOutputConfig() { return this.outputConfig; } /** ** An object containing information about the output file. *
* * @param outputConfig * An object containing information about the output file. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportEarthObservationJobResult withOutputConfig(OutputConfigInput outputConfig) { setOutputConfig(outputConfig); return this; } /** * 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 (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getExecutionRoleArn() != null) sb.append("ExecutionRoleArn: ").append(getExecutionRoleArn()).append(","); if (getExportSourceImages() != null) sb.append("ExportSourceImages: ").append(getExportSourceImages()).append(","); if (getExportStatus() != null) sb.append("ExportStatus: ").append(getExportStatus()).append(","); if (getOutputConfig() != null) sb.append("OutputConfig: ").append(getOutputConfig()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ExportEarthObservationJobResult == false) return false; ExportEarthObservationJobResult other = (ExportEarthObservationJobResult) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getExecutionRoleArn() == null ^ this.getExecutionRoleArn() == null) return false; if (other.getExecutionRoleArn() != null && other.getExecutionRoleArn().equals(this.getExecutionRoleArn()) == false) return false; if (other.getExportSourceImages() == null ^ this.getExportSourceImages() == null) return false; if (other.getExportSourceImages() != null && other.getExportSourceImages().equals(this.getExportSourceImages()) == false) return false; if (other.getExportStatus() == null ^ this.getExportStatus() == null) return false; if (other.getExportStatus() != null && other.getExportStatus().equals(this.getExportStatus()) == false) return false; if (other.getOutputConfig() == null ^ this.getOutputConfig() == null) return false; if (other.getOutputConfig() != null && other.getOutputConfig().equals(this.getOutputConfig()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getExecutionRoleArn() == null) ? 0 : getExecutionRoleArn().hashCode()); hashCode = prime * hashCode + ((getExportSourceImages() == null) ? 0 : getExportSourceImages().hashCode()); hashCode = prime * hashCode + ((getExportStatus() == null) ? 0 : getExportStatus().hashCode()); hashCode = prime * hashCode + ((getOutputConfig() == null) ? 0 : getOutputConfig().hashCode()); return hashCode; } @Override public ExportEarthObservationJobResult clone() { try { return (ExportEarthObservationJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }