* The Amazon Resource Name (ARN) of the Vector Enrichment job. *
*/ private String arn; /** ** The creation time. *
*/ private java.util.Date creationTime; /** ** The duration of the Vector Enrichment job, in seconds. *
*/ private Integer durationInSeconds; /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
*/ private String executionRoleArn; /** ** Input configuration information for starting the Vector Enrichment job. *
*/ private VectorEnrichmentJobInputConfig inputConfig; /** ** An object containing information about the job configuration. *
*/ private VectorEnrichmentJobConfig jobConfig; /** ** The Key Management Service key ID for server-side encryption. *
*/ private String kmsKeyId; /** ** The name of the Vector Enrichment job. *
*/ private String name; /** ** The status of the Vector Enrichment job being started. *
*/ private String status; /** ** Each tag consists of a key and a value. *
*/ private java.util.Map* The type of the Vector Enrichment job. *
*/ private String type; /** ** The Amazon Resource Name (ARN) of the Vector Enrichment job. *
* * @param arn * The Amazon Resource Name (ARN) of the Vector Enrichment job. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the Vector Enrichment job. *
* * @return The Amazon Resource Name (ARN) of the Vector Enrichment job. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the Vector Enrichment job. *
* * @param arn * The Amazon Resource Name (ARN) of the Vector Enrichment job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVectorEnrichmentJobResult 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 StartVectorEnrichmentJobResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** ** The duration of the Vector Enrichment job, in seconds. *
* * @param durationInSeconds * The duration of the Vector Enrichment job, in seconds. */ public void setDurationInSeconds(Integer durationInSeconds) { this.durationInSeconds = durationInSeconds; } /** ** The duration of the Vector Enrichment job, in seconds. *
* * @return The duration of the Vector Enrichment job, in seconds. */ public Integer getDurationInSeconds() { return this.durationInSeconds; } /** ** The duration of the Vector Enrichment job, in seconds. *
* * @param durationInSeconds * The duration of the Vector Enrichment job, in seconds. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVectorEnrichmentJobResult withDurationInSeconds(Integer durationInSeconds) { setDurationInSeconds(durationInSeconds); 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 StartVectorEnrichmentJobResult withExecutionRoleArn(String executionRoleArn) { setExecutionRoleArn(executionRoleArn); return this; } /** ** Input configuration information for starting the Vector Enrichment job. *
* * @param inputConfig * Input configuration information for starting the Vector Enrichment job. */ public void setInputConfig(VectorEnrichmentJobInputConfig inputConfig) { this.inputConfig = inputConfig; } /** ** Input configuration information for starting the Vector Enrichment job. *
* * @return Input configuration information for starting the Vector Enrichment job. */ public VectorEnrichmentJobInputConfig getInputConfig() { return this.inputConfig; } /** ** Input configuration information for starting the Vector Enrichment job. *
* * @param inputConfig * Input configuration information for starting the Vector Enrichment job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVectorEnrichmentJobResult withInputConfig(VectorEnrichmentJobInputConfig inputConfig) { setInputConfig(inputConfig); return this; } /** ** An object containing information about the job configuration. *
* * @param jobConfig * An object containing information about the job configuration. */ public void setJobConfig(VectorEnrichmentJobConfig jobConfig) { this.jobConfig = jobConfig; } /** ** An object containing information about the job configuration. *
* * @return An object containing information about the job configuration. */ public VectorEnrichmentJobConfig getJobConfig() { return this.jobConfig; } /** ** An object containing information about the job configuration. *
* * @param jobConfig * An object containing information about the job configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVectorEnrichmentJobResult withJobConfig(VectorEnrichmentJobConfig jobConfig) { setJobConfig(jobConfig); return this; } /** ** The Key Management Service key ID for server-side encryption. *
* * @param kmsKeyId * The Key Management Service key ID for server-side encryption. */ public void setKmsKeyId(String kmsKeyId) { this.kmsKeyId = kmsKeyId; } /** ** The Key Management Service key ID for server-side encryption. *
* * @return The Key Management Service key ID for server-side encryption. */ public String getKmsKeyId() { return this.kmsKeyId; } /** ** The Key Management Service key ID for server-side encryption. *
* * @param kmsKeyId * The Key Management Service key ID for server-side encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVectorEnrichmentJobResult withKmsKeyId(String kmsKeyId) { setKmsKeyId(kmsKeyId); return this; } /** ** The name of the Vector Enrichment job. *
* * @param name * The name of the Vector Enrichment job. */ public void setName(String name) { this.name = name; } /** ** The name of the Vector Enrichment job. *
* * @return The name of the Vector Enrichment job. */ public String getName() { return this.name; } /** ** The name of the Vector Enrichment job. *
* * @param name * The name of the Vector Enrichment job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVectorEnrichmentJobResult withName(String name) { setName(name); return this; } /** ** The status of the Vector Enrichment job being started. *
* * @param status * The status of the Vector Enrichment job being started. * @see VectorEnrichmentJobStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of the Vector Enrichment job being started. *
* * @return The status of the Vector Enrichment job being started. * @see VectorEnrichmentJobStatus */ public String getStatus() { return this.status; } /** ** The status of the Vector Enrichment job being started. *
* * @param status * The status of the Vector Enrichment job being started. * @return Returns a reference to this object so that method calls can be chained together. * @see VectorEnrichmentJobStatus */ public StartVectorEnrichmentJobResult withStatus(String status) { setStatus(status); return this; } /** ** The status of the Vector Enrichment job being started. *
* * @param status * The status of the Vector Enrichment job being started. * @return Returns a reference to this object so that method calls can be chained together. * @see VectorEnrichmentJobStatus */ public StartVectorEnrichmentJobResult withStatus(VectorEnrichmentJobStatus status) { this.status = status.toString(); return this; } /** ** Each tag consists of a key and a value. *
* * @return Each tag consists of a key and a value. */ public java.util.Map* Each tag consists of a key and a value. *
* * @param tags * Each tag consists of a key and a value. */ public void setTags(java.util.Map* Each tag consists of a key and a value. *
* * @param tags * Each tag consists of a key and a value. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVectorEnrichmentJobResult withTags(java.util.Map* The type of the Vector Enrichment job. *
* * @param type * The type of the Vector Enrichment job. * @see VectorEnrichmentJobType */ public void setType(String type) { this.type = type; } /** ** The type of the Vector Enrichment job. *
* * @return The type of the Vector Enrichment job. * @see VectorEnrichmentJobType */ public String getType() { return this.type; } /** ** The type of the Vector Enrichment job. *
* * @param type * The type of the Vector Enrichment job. * @return Returns a reference to this object so that method calls can be chained together. * @see VectorEnrichmentJobType */ public StartVectorEnrichmentJobResult withType(String type) { setType(type); return this; } /** ** The type of the Vector Enrichment job. *
* * @param type * The type of the Vector Enrichment job. * @return Returns a reference to this object so that method calls can be chained together. * @see VectorEnrichmentJobType */ public StartVectorEnrichmentJobResult withType(VectorEnrichmentJobType type) { this.type = type.toString(); 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 (getDurationInSeconds() != null) sb.append("DurationInSeconds: ").append(getDurationInSeconds()).append(","); if (getExecutionRoleArn() != null) sb.append("ExecutionRoleArn: ").append(getExecutionRoleArn()).append(","); if (getInputConfig() != null) sb.append("InputConfig: ").append(getInputConfig()).append(","); if (getJobConfig() != null) sb.append("JobConfig: ").append(getJobConfig()).append(","); if (getKmsKeyId() != null) sb.append("KmsKeyId: ").append(getKmsKeyId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getType() != null) sb.append("Type: ").append(getType()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartVectorEnrichmentJobResult == false) return false; StartVectorEnrichmentJobResult other = (StartVectorEnrichmentJobResult) 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.getDurationInSeconds() == null ^ this.getDurationInSeconds() == null) return false; if (other.getDurationInSeconds() != null && other.getDurationInSeconds().equals(this.getDurationInSeconds()) == 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.getInputConfig() == null ^ this.getInputConfig() == null) return false; if (other.getInputConfig() != null && other.getInputConfig().equals(this.getInputConfig()) == false) return false; if (other.getJobConfig() == null ^ this.getJobConfig() == null) return false; if (other.getJobConfig() != null && other.getJobConfig().equals(this.getJobConfig()) == false) return false; if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null) return false; if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == 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.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == 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 + ((getDurationInSeconds() == null) ? 0 : getDurationInSeconds().hashCode()); hashCode = prime * hashCode + ((getExecutionRoleArn() == null) ? 0 : getExecutionRoleArn().hashCode()); hashCode = prime * hashCode + ((getInputConfig() == null) ? 0 : getInputConfig().hashCode()); hashCode = prime * hashCode + ((getJobConfig() == null) ? 0 : getJobConfig().hashCode()); hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); return hashCode; } @Override public StartVectorEnrichmentJobResult clone() { try { return (StartVectorEnrichmentJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }