* The Amazon Resource Name (ARN) of the ML model being used by the inference scheduler. *
*/ private String modelArn; /** ** The name of the ML model being used by the inference scheduler. *
*/ private String modelName; /** ** The name of the inference scheduler being started. *
*/ private String inferenceSchedulerName; /** ** The Amazon Resource Name (ARN) of the inference scheduler being started. *
*/ private String inferenceSchedulerArn; /** ** Indicates the status of the inference scheduler. *
*/ private String status; /** ** The Amazon Resource Name (ARN) of the ML model being used by the inference scheduler. *
* * @param modelArn * The Amazon Resource Name (ARN) of the ML model being used by the inference scheduler. */ public void setModelArn(String modelArn) { this.modelArn = modelArn; } /** ** The Amazon Resource Name (ARN) of the ML model being used by the inference scheduler. *
* * @return The Amazon Resource Name (ARN) of the ML model being used by the inference scheduler. */ public String getModelArn() { return this.modelArn; } /** ** The Amazon Resource Name (ARN) of the ML model being used by the inference scheduler. *
* * @param modelArn * The Amazon Resource Name (ARN) of the ML model being used by the inference scheduler. * @return Returns a reference to this object so that method calls can be chained together. */ public StartInferenceSchedulerResult withModelArn(String modelArn) { setModelArn(modelArn); return this; } /** ** The name of the ML model being used by the inference scheduler. *
* * @param modelName * The name of the ML model being used by the inference scheduler. */ public void setModelName(String modelName) { this.modelName = modelName; } /** ** The name of the ML model being used by the inference scheduler. *
* * @return The name of the ML model being used by the inference scheduler. */ public String getModelName() { return this.modelName; } /** ** The name of the ML model being used by the inference scheduler. *
* * @param modelName * The name of the ML model being used by the inference scheduler. * @return Returns a reference to this object so that method calls can be chained together. */ public StartInferenceSchedulerResult withModelName(String modelName) { setModelName(modelName); return this; } /** ** The name of the inference scheduler being started. *
* * @param inferenceSchedulerName * The name of the inference scheduler being started. */ public void setInferenceSchedulerName(String inferenceSchedulerName) { this.inferenceSchedulerName = inferenceSchedulerName; } /** ** The name of the inference scheduler being started. *
* * @return The name of the inference scheduler being started. */ public String getInferenceSchedulerName() { return this.inferenceSchedulerName; } /** ** The name of the inference scheduler being started. *
* * @param inferenceSchedulerName * The name of the inference scheduler being started. * @return Returns a reference to this object so that method calls can be chained together. */ public StartInferenceSchedulerResult withInferenceSchedulerName(String inferenceSchedulerName) { setInferenceSchedulerName(inferenceSchedulerName); return this; } /** ** The Amazon Resource Name (ARN) of the inference scheduler being started. *
* * @param inferenceSchedulerArn * The Amazon Resource Name (ARN) of the inference scheduler being started. */ public void setInferenceSchedulerArn(String inferenceSchedulerArn) { this.inferenceSchedulerArn = inferenceSchedulerArn; } /** ** The Amazon Resource Name (ARN) of the inference scheduler being started. *
* * @return The Amazon Resource Name (ARN) of the inference scheduler being started. */ public String getInferenceSchedulerArn() { return this.inferenceSchedulerArn; } /** ** The Amazon Resource Name (ARN) of the inference scheduler being started. *
* * @param inferenceSchedulerArn * The Amazon Resource Name (ARN) of the inference scheduler being started. * @return Returns a reference to this object so that method calls can be chained together. */ public StartInferenceSchedulerResult withInferenceSchedulerArn(String inferenceSchedulerArn) { setInferenceSchedulerArn(inferenceSchedulerArn); return this; } /** ** Indicates the status of the inference scheduler. *
* * @param status * Indicates the status of the inference scheduler. * @see InferenceSchedulerStatus */ public void setStatus(String status) { this.status = status; } /** ** Indicates the status of the inference scheduler. *
* * @return Indicates the status of the inference scheduler. * @see InferenceSchedulerStatus */ public String getStatus() { return this.status; } /** ** Indicates the status of the inference scheduler. *
* * @param status * Indicates the status of the inference scheduler. * @return Returns a reference to this object so that method calls can be chained together. * @see InferenceSchedulerStatus */ public StartInferenceSchedulerResult withStatus(String status) { setStatus(status); return this; } /** ** Indicates the status of the inference scheduler. *
* * @param status * Indicates the status of the inference scheduler. * @return Returns a reference to this object so that method calls can be chained together. * @see InferenceSchedulerStatus */ public StartInferenceSchedulerResult withStatus(InferenceSchedulerStatus status) { this.status = status.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 (getModelArn() != null) sb.append("ModelArn: ").append(getModelArn()).append(","); if (getModelName() != null) sb.append("ModelName: ").append(getModelName()).append(","); if (getInferenceSchedulerName() != null) sb.append("InferenceSchedulerName: ").append(getInferenceSchedulerName()).append(","); if (getInferenceSchedulerArn() != null) sb.append("InferenceSchedulerArn: ").append(getInferenceSchedulerArn()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartInferenceSchedulerResult == false) return false; StartInferenceSchedulerResult other = (StartInferenceSchedulerResult) obj; if (other.getModelArn() == null ^ this.getModelArn() == null) return false; if (other.getModelArn() != null && other.getModelArn().equals(this.getModelArn()) == false) return false; if (other.getModelName() == null ^ this.getModelName() == null) return false; if (other.getModelName() != null && other.getModelName().equals(this.getModelName()) == false) return false; if (other.getInferenceSchedulerName() == null ^ this.getInferenceSchedulerName() == null) return false; if (other.getInferenceSchedulerName() != null && other.getInferenceSchedulerName().equals(this.getInferenceSchedulerName()) == false) return false; if (other.getInferenceSchedulerArn() == null ^ this.getInferenceSchedulerArn() == null) return false; if (other.getInferenceSchedulerArn() != null && other.getInferenceSchedulerArn().equals(this.getInferenceSchedulerArn()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getModelArn() == null) ? 0 : getModelArn().hashCode()); hashCode = prime * hashCode + ((getModelName() == null) ? 0 : getModelName().hashCode()); hashCode = prime * hashCode + ((getInferenceSchedulerName() == null) ? 0 : getInferenceSchedulerName().hashCode()); hashCode = prime * hashCode + ((getInferenceSchedulerArn() == null) ? 0 : getInferenceSchedulerArn().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); return hashCode; } @Override public StartInferenceSchedulerResult clone() { try { return (StartInferenceSchedulerResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }