* The name of the ruleset. *
*/ private String name; /** ** A description of the ruleset. *
*/ private String description; /** ** A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide. *
*/ private String ruleset; /** ** The name and database name of the target table. *
*/ private DataQualityTargetTable targetTable; /** ** A timestamp. The time and date that this data quality ruleset was created. *
*/ private java.util.Date createdOn; /** ** A timestamp. The last point in time when this data quality ruleset was modified. *
*/ private java.util.Date lastModifiedOn; /** ** When a ruleset was created from a recommendation run, this run ID is generated to link the two together. *
*/ private String recommendationRunId; /** ** The name of the ruleset. *
* * @param name * The name of the ruleset. */ public void setName(String name) { this.name = name; } /** ** The name of the ruleset. *
* * @return The name of the ruleset. */ public String getName() { return this.name; } /** ** The name of the ruleset. *
* * @param name * The name of the ruleset. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataQualityRulesetResult withName(String name) { setName(name); return this; } /** ** A description of the ruleset. *
* * @param description * A description of the ruleset. */ public void setDescription(String description) { this.description = description; } /** ** A description of the ruleset. *
* * @return A description of the ruleset. */ public String getDescription() { return this.description; } /** ** A description of the ruleset. *
* * @param description * A description of the ruleset. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataQualityRulesetResult withDescription(String description) { setDescription(description); return this; } /** ** A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide. *
* * @param ruleset * A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide. */ public void setRuleset(String ruleset) { this.ruleset = ruleset; } /** ** A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide. *
* * @return A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide. */ public String getRuleset() { return this.ruleset; } /** ** A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide. *
* * @param ruleset * A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue developer guide. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataQualityRulesetResult withRuleset(String ruleset) { setRuleset(ruleset); return this; } /** ** The name and database name of the target table. *
* * @param targetTable * The name and database name of the target table. */ public void setTargetTable(DataQualityTargetTable targetTable) { this.targetTable = targetTable; } /** ** The name and database name of the target table. *
* * @return The name and database name of the target table. */ public DataQualityTargetTable getTargetTable() { return this.targetTable; } /** ** The name and database name of the target table. *
* * @param targetTable * The name and database name of the target table. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataQualityRulesetResult withTargetTable(DataQualityTargetTable targetTable) { setTargetTable(targetTable); return this; } /** ** A timestamp. The time and date that this data quality ruleset was created. *
* * @param createdOn * A timestamp. The time and date that this data quality ruleset was created. */ public void setCreatedOn(java.util.Date createdOn) { this.createdOn = createdOn; } /** ** A timestamp. The time and date that this data quality ruleset was created. *
* * @return A timestamp. The time and date that this data quality ruleset was created. */ public java.util.Date getCreatedOn() { return this.createdOn; } /** ** A timestamp. The time and date that this data quality ruleset was created. *
* * @param createdOn * A timestamp. The time and date that this data quality ruleset was created. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataQualityRulesetResult withCreatedOn(java.util.Date createdOn) { setCreatedOn(createdOn); return this; } /** ** A timestamp. The last point in time when this data quality ruleset was modified. *
* * @param lastModifiedOn * A timestamp. The last point in time when this data quality ruleset was modified. */ public void setLastModifiedOn(java.util.Date lastModifiedOn) { this.lastModifiedOn = lastModifiedOn; } /** ** A timestamp. The last point in time when this data quality ruleset was modified. *
* * @return A timestamp. The last point in time when this data quality ruleset was modified. */ public java.util.Date getLastModifiedOn() { return this.lastModifiedOn; } /** ** A timestamp. The last point in time when this data quality ruleset was modified. *
* * @param lastModifiedOn * A timestamp. The last point in time when this data quality ruleset was modified. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataQualityRulesetResult withLastModifiedOn(java.util.Date lastModifiedOn) { setLastModifiedOn(lastModifiedOn); return this; } /** ** When a ruleset was created from a recommendation run, this run ID is generated to link the two together. *
* * @param recommendationRunId * When a ruleset was created from a recommendation run, this run ID is generated to link the two together. */ public void setRecommendationRunId(String recommendationRunId) { this.recommendationRunId = recommendationRunId; } /** ** When a ruleset was created from a recommendation run, this run ID is generated to link the two together. *
* * @return When a ruleset was created from a recommendation run, this run ID is generated to link the two together. */ public String getRecommendationRunId() { return this.recommendationRunId; } /** ** When a ruleset was created from a recommendation run, this run ID is generated to link the two together. *
* * @param recommendationRunId * When a ruleset was created from a recommendation run, this run ID is generated to link the two together. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDataQualityRulesetResult withRecommendationRunId(String recommendationRunId) { setRecommendationRunId(recommendationRunId); 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 (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getRuleset() != null) sb.append("Ruleset: ").append(getRuleset()).append(","); if (getTargetTable() != null) sb.append("TargetTable: ").append(getTargetTable()).append(","); if (getCreatedOn() != null) sb.append("CreatedOn: ").append(getCreatedOn()).append(","); if (getLastModifiedOn() != null) sb.append("LastModifiedOn: ").append(getLastModifiedOn()).append(","); if (getRecommendationRunId() != null) sb.append("RecommendationRunId: ").append(getRecommendationRunId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetDataQualityRulesetResult == false) return false; GetDataQualityRulesetResult other = (GetDataQualityRulesetResult) obj; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getRuleset() == null ^ this.getRuleset() == null) return false; if (other.getRuleset() != null && other.getRuleset().equals(this.getRuleset()) == false) return false; if (other.getTargetTable() == null ^ this.getTargetTable() == null) return false; if (other.getTargetTable() != null && other.getTargetTable().equals(this.getTargetTable()) == false) return false; if (other.getCreatedOn() == null ^ this.getCreatedOn() == null) return false; if (other.getCreatedOn() != null && other.getCreatedOn().equals(this.getCreatedOn()) == false) return false; if (other.getLastModifiedOn() == null ^ this.getLastModifiedOn() == null) return false; if (other.getLastModifiedOn() != null && other.getLastModifiedOn().equals(this.getLastModifiedOn()) == false) return false; if (other.getRecommendationRunId() == null ^ this.getRecommendationRunId() == null) return false; if (other.getRecommendationRunId() != null && other.getRecommendationRunId().equals(this.getRecommendationRunId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getRuleset() == null) ? 0 : getRuleset().hashCode()); hashCode = prime * hashCode + ((getTargetTable() == null) ? 0 : getTargetTable().hashCode()); hashCode = prime * hashCode + ((getCreatedOn() == null) ? 0 : getCreatedOn().hashCode()); hashCode = prime * hashCode + ((getLastModifiedOn() == null) ? 0 : getLastModifiedOn().hashCode()); hashCode = prime * hashCode + ((getRecommendationRunId() == null) ? 0 : getRecommendationRunId().hashCode()); return hashCode; } @Override public GetDataQualityRulesetResult clone() { try { return (GetDataQualityRulesetResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }