* The custom description of the template. *
*/ private String description; /** ** The managed data identifiers that are explicitly excluded (not used) when analyzing data. *
*/ private SensitivityInspectionTemplateExcludes excludes; /** ** The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing * data. *
*/ private SensitivityInspectionTemplateIncludes includes; /** ** The name of the template: automated-sensitive-data-discovery. *
*/ private String name; /** ** The unique identifier for the template. *
*/ private String sensitivityInspectionTemplateId; /** ** The custom description of the template. *
* * @param description * The custom description of the template. */ public void setDescription(String description) { this.description = description; } /** ** The custom description of the template. *
* * @return The custom description of the template. */ public String getDescription() { return this.description; } /** ** The custom description of the template. *
* * @param description * The custom description of the template. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSensitivityInspectionTemplateResult withDescription(String description) { setDescription(description); return this; } /** ** The managed data identifiers that are explicitly excluded (not used) when analyzing data. *
* * @param excludes ** The managed data identifiers that are explicitly excluded (not used) when analyzing data. *
*/ public void setExcludes(SensitivityInspectionTemplateExcludes excludes) { this.excludes = excludes; } /** ** The managed data identifiers that are explicitly excluded (not used) when analyzing data. *
* * @return* The managed data identifiers that are explicitly excluded (not used) when analyzing data. *
*/ public SensitivityInspectionTemplateExcludes getExcludes() { return this.excludes; } /** ** The managed data identifiers that are explicitly excluded (not used) when analyzing data. *
* * @param excludes ** The managed data identifiers that are explicitly excluded (not used) when analyzing data. *
* @return Returns a reference to this object so that method calls can be chained together. */ public GetSensitivityInspectionTemplateResult withExcludes(SensitivityInspectionTemplateExcludes excludes) { setExcludes(excludes); return this; } /** ** The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing * data. *
* * @param includes * The allow lists, custom data identifiers, and managed data identifiers that are included (used) when * analyzing data. */ public void setIncludes(SensitivityInspectionTemplateIncludes includes) { this.includes = includes; } /** ** The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing * data. *
* * @return The allow lists, custom data identifiers, and managed data identifiers that are included (used) when * analyzing data. */ public SensitivityInspectionTemplateIncludes getIncludes() { return this.includes; } /** ** The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing * data. *
* * @param includes * The allow lists, custom data identifiers, and managed data identifiers that are included (used) when * analyzing data. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSensitivityInspectionTemplateResult withIncludes(SensitivityInspectionTemplateIncludes includes) { setIncludes(includes); return this; } /** ** The name of the template: automated-sensitive-data-discovery. *
* * @param name * The name of the template: automated-sensitive-data-discovery. */ public void setName(String name) { this.name = name; } /** ** The name of the template: automated-sensitive-data-discovery. *
* * @return The name of the template: automated-sensitive-data-discovery. */ public String getName() { return this.name; } /** ** The name of the template: automated-sensitive-data-discovery. *
* * @param name * The name of the template: automated-sensitive-data-discovery. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSensitivityInspectionTemplateResult withName(String name) { setName(name); return this; } /** ** The unique identifier for the template. *
* * @param sensitivityInspectionTemplateId * The unique identifier for the template. */ public void setSensitivityInspectionTemplateId(String sensitivityInspectionTemplateId) { this.sensitivityInspectionTemplateId = sensitivityInspectionTemplateId; } /** ** The unique identifier for the template. *
* * @return The unique identifier for the template. */ public String getSensitivityInspectionTemplateId() { return this.sensitivityInspectionTemplateId; } /** ** The unique identifier for the template. *
* * @param sensitivityInspectionTemplateId * The unique identifier for the template. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSensitivityInspectionTemplateResult withSensitivityInspectionTemplateId(String sensitivityInspectionTemplateId) { setSensitivityInspectionTemplateId(sensitivityInspectionTemplateId); 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 (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getExcludes() != null) sb.append("Excludes: ").append(getExcludes()).append(","); if (getIncludes() != null) sb.append("Includes: ").append(getIncludes()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getSensitivityInspectionTemplateId() != null) sb.append("SensitivityInspectionTemplateId: ").append(getSensitivityInspectionTemplateId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetSensitivityInspectionTemplateResult == false) return false; GetSensitivityInspectionTemplateResult other = (GetSensitivityInspectionTemplateResult) obj; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getExcludes() == null ^ this.getExcludes() == null) return false; if (other.getExcludes() != null && other.getExcludes().equals(this.getExcludes()) == false) return false; if (other.getIncludes() == null ^ this.getIncludes() == null) return false; if (other.getIncludes() != null && other.getIncludes().equals(this.getIncludes()) == 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.getSensitivityInspectionTemplateId() == null ^ this.getSensitivityInspectionTemplateId() == null) return false; if (other.getSensitivityInspectionTemplateId() != null && other.getSensitivityInspectionTemplateId().equals(this.getSensitivityInspectionTemplateId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getExcludes() == null) ? 0 : getExcludes().hashCode()); hashCode = prime * hashCode + ((getIncludes() == null) ? 0 : getIncludes().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getSensitivityInspectionTemplateId() == null) ? 0 : getSensitivityInspectionTemplateId().hashCode()); return hashCode; } @Override public GetSensitivityInspectionTemplateResult clone() { try { return (GetSensitivityInspectionTemplateResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }