* The AWS-generated ID for the data store to be deleted. *
*/ private String datastoreId; /** ** The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. *
*/ private String datastoreArn; /** ** The status of the data store that the user has requested to be deleted. *
*/ private String datastoreStatus; /** ** The AWS endpoint for the data store the user has requested to be deleted. *
*/ private String datastoreEndpoint; /** ** The AWS-generated ID for the data store to be deleted. *
* * @param datastoreId * The AWS-generated ID for the data store to be deleted. */ public void setDatastoreId(String datastoreId) { this.datastoreId = datastoreId; } /** ** The AWS-generated ID for the data store to be deleted. *
* * @return The AWS-generated ID for the data store to be deleted. */ public String getDatastoreId() { return this.datastoreId; } /** ** The AWS-generated ID for the data store to be deleted. *
* * @param datastoreId * The AWS-generated ID for the data store to be deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteFHIRDatastoreResult withDatastoreId(String datastoreId) { setDatastoreId(datastoreId); return this; } /** ** The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. *
* * @param datastoreArn * The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. */ public void setDatastoreArn(String datastoreArn) { this.datastoreArn = datastoreArn; } /** ** The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. *
* * @return The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. */ public String getDatastoreArn() { return this.datastoreArn; } /** ** The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. *
* * @param datastoreArn * The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteFHIRDatastoreResult withDatastoreArn(String datastoreArn) { setDatastoreArn(datastoreArn); return this; } /** ** The status of the data store that the user has requested to be deleted. *
* * @param datastoreStatus * The status of the data store that the user has requested to be deleted. * @see DatastoreStatus */ public void setDatastoreStatus(String datastoreStatus) { this.datastoreStatus = datastoreStatus; } /** ** The status of the data store that the user has requested to be deleted. *
* * @return The status of the data store that the user has requested to be deleted. * @see DatastoreStatus */ public String getDatastoreStatus() { return this.datastoreStatus; } /** ** The status of the data store that the user has requested to be deleted. *
* * @param datastoreStatus * The status of the data store that the user has requested to be deleted. * @return Returns a reference to this object so that method calls can be chained together. * @see DatastoreStatus */ public DeleteFHIRDatastoreResult withDatastoreStatus(String datastoreStatus) { setDatastoreStatus(datastoreStatus); return this; } /** ** The status of the data store that the user has requested to be deleted. *
* * @param datastoreStatus * The status of the data store that the user has requested to be deleted. * @return Returns a reference to this object so that method calls can be chained together. * @see DatastoreStatus */ public DeleteFHIRDatastoreResult withDatastoreStatus(DatastoreStatus datastoreStatus) { this.datastoreStatus = datastoreStatus.toString(); return this; } /** ** The AWS endpoint for the data store the user has requested to be deleted. *
* * @param datastoreEndpoint * The AWS endpoint for the data store the user has requested to be deleted. */ public void setDatastoreEndpoint(String datastoreEndpoint) { this.datastoreEndpoint = datastoreEndpoint; } /** ** The AWS endpoint for the data store the user has requested to be deleted. *
* * @return The AWS endpoint for the data store the user has requested to be deleted. */ public String getDatastoreEndpoint() { return this.datastoreEndpoint; } /** ** The AWS endpoint for the data store the user has requested to be deleted. *
* * @param datastoreEndpoint * The AWS endpoint for the data store the user has requested to be deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteFHIRDatastoreResult withDatastoreEndpoint(String datastoreEndpoint) { setDatastoreEndpoint(datastoreEndpoint); 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 (getDatastoreId() != null) sb.append("DatastoreId: ").append(getDatastoreId()).append(","); if (getDatastoreArn() != null) sb.append("DatastoreArn: ").append(getDatastoreArn()).append(","); if (getDatastoreStatus() != null) sb.append("DatastoreStatus: ").append(getDatastoreStatus()).append(","); if (getDatastoreEndpoint() != null) sb.append("DatastoreEndpoint: ").append(getDatastoreEndpoint()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteFHIRDatastoreResult == false) return false; DeleteFHIRDatastoreResult other = (DeleteFHIRDatastoreResult) obj; if (other.getDatastoreId() == null ^ this.getDatastoreId() == null) return false; if (other.getDatastoreId() != null && other.getDatastoreId().equals(this.getDatastoreId()) == false) return false; if (other.getDatastoreArn() == null ^ this.getDatastoreArn() == null) return false; if (other.getDatastoreArn() != null && other.getDatastoreArn().equals(this.getDatastoreArn()) == false) return false; if (other.getDatastoreStatus() == null ^ this.getDatastoreStatus() == null) return false; if (other.getDatastoreStatus() != null && other.getDatastoreStatus().equals(this.getDatastoreStatus()) == false) return false; if (other.getDatastoreEndpoint() == null ^ this.getDatastoreEndpoint() == null) return false; if (other.getDatastoreEndpoint() != null && other.getDatastoreEndpoint().equals(this.getDatastoreEndpoint()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDatastoreId() == null) ? 0 : getDatastoreId().hashCode()); hashCode = prime * hashCode + ((getDatastoreArn() == null) ? 0 : getDatastoreArn().hashCode()); hashCode = prime * hashCode + ((getDatastoreStatus() == null) ? 0 : getDatastoreStatus().hashCode()); hashCode = prime * hashCode + ((getDatastoreEndpoint() == null) ? 0 : getDatastoreEndpoint().hashCode()); return hashCode; } @Override public DeleteFHIRDatastoreResult clone() { try { return (DeleteFHIRDatastoreResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }