* The name of the hub content. *
*/ private String hubContentName; /** ** The Amazon Resource Name (ARN) of the hub content. *
*/ private String hubContentArn; /** ** The version of the hub content. *
*/ private String hubContentVersion; /** ** The type of hub content. *
*/ private String hubContentType; /** ** The document schema version for the hub content. *
*/ private String documentSchemaVersion; /** ** The name of the hub that contains the content. *
*/ private String hubName; /** ** The Amazon Resource Name (ARN) of the hub that contains the content. *
*/ private String hubArn; /** ** The display name of the hub content. *
*/ private String hubContentDisplayName; /** ** A description of the hub content. *
*/ private String hubContentDescription; /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
*/ private String hubContentMarkdown; /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
*/ private String hubContentDocument; /** ** The searchable keywords for the hub content. *
*/ private java.util.List* The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. *
*/ private java.util.List* The status of the hub content. *
*/ private String hubContentStatus; /** ** The failure reason if importing hub content failed. *
*/ private String failureReason; /** ** The date and time that hub content was created. *
*/ private java.util.Date creationTime; /** ** The name of the hub content. *
* * @param hubContentName * The name of the hub content. */ public void setHubContentName(String hubContentName) { this.hubContentName = hubContentName; } /** ** The name of the hub content. *
* * @return The name of the hub content. */ public String getHubContentName() { return this.hubContentName; } /** ** The name of the hub content. *
* * @param hubContentName * The name of the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentName(String hubContentName) { setHubContentName(hubContentName); return this; } /** ** The Amazon Resource Name (ARN) of the hub content. *
* * @param hubContentArn * The Amazon Resource Name (ARN) of the hub content. */ public void setHubContentArn(String hubContentArn) { this.hubContentArn = hubContentArn; } /** ** The Amazon Resource Name (ARN) of the hub content. *
* * @return The Amazon Resource Name (ARN) of the hub content. */ public String getHubContentArn() { return this.hubContentArn; } /** ** The Amazon Resource Name (ARN) of the hub content. *
* * @param hubContentArn * The Amazon Resource Name (ARN) of the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentArn(String hubContentArn) { setHubContentArn(hubContentArn); return this; } /** ** The version of the hub content. *
* * @param hubContentVersion * The version of the hub content. */ public void setHubContentVersion(String hubContentVersion) { this.hubContentVersion = hubContentVersion; } /** ** The version of the hub content. *
* * @return The version of the hub content. */ public String getHubContentVersion() { return this.hubContentVersion; } /** ** The version of the hub content. *
* * @param hubContentVersion * The version of the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentVersion(String hubContentVersion) { setHubContentVersion(hubContentVersion); return this; } /** ** The type of hub content. *
* * @param hubContentType * The type of hub content. * @see HubContentType */ public void setHubContentType(String hubContentType) { this.hubContentType = hubContentType; } /** ** The type of hub content. *
* * @return The type of hub content. * @see HubContentType */ public String getHubContentType() { return this.hubContentType; } /** ** The type of hub content. *
* * @param hubContentType * The type of hub content. * @return Returns a reference to this object so that method calls can be chained together. * @see HubContentType */ public DescribeHubContentResult withHubContentType(String hubContentType) { setHubContentType(hubContentType); return this; } /** ** The type of hub content. *
* * @param hubContentType * The type of hub content. * @return Returns a reference to this object so that method calls can be chained together. * @see HubContentType */ public DescribeHubContentResult withHubContentType(HubContentType hubContentType) { this.hubContentType = hubContentType.toString(); return this; } /** ** The document schema version for the hub content. *
* * @param documentSchemaVersion * The document schema version for the hub content. */ public void setDocumentSchemaVersion(String documentSchemaVersion) { this.documentSchemaVersion = documentSchemaVersion; } /** ** The document schema version for the hub content. *
* * @return The document schema version for the hub content. */ public String getDocumentSchemaVersion() { return this.documentSchemaVersion; } /** ** The document schema version for the hub content. *
* * @param documentSchemaVersion * The document schema version for the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withDocumentSchemaVersion(String documentSchemaVersion) { setDocumentSchemaVersion(documentSchemaVersion); return this; } /** ** The name of the hub that contains the content. *
* * @param hubName * The name of the hub that contains the content. */ public void setHubName(String hubName) { this.hubName = hubName; } /** ** The name of the hub that contains the content. *
* * @return The name of the hub that contains the content. */ public String getHubName() { return this.hubName; } /** ** The name of the hub that contains the content. *
* * @param hubName * The name of the hub that contains the content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubName(String hubName) { setHubName(hubName); return this; } /** ** The Amazon Resource Name (ARN) of the hub that contains the content. *
* * @param hubArn * The Amazon Resource Name (ARN) of the hub that contains the content. */ public void setHubArn(String hubArn) { this.hubArn = hubArn; } /** ** The Amazon Resource Name (ARN) of the hub that contains the content. *
* * @return The Amazon Resource Name (ARN) of the hub that contains the content. */ public String getHubArn() { return this.hubArn; } /** ** The Amazon Resource Name (ARN) of the hub that contains the content. *
* * @param hubArn * The Amazon Resource Name (ARN) of the hub that contains the content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubArn(String hubArn) { setHubArn(hubArn); return this; } /** ** The display name of the hub content. *
* * @param hubContentDisplayName * The display name of the hub content. */ public void setHubContentDisplayName(String hubContentDisplayName) { this.hubContentDisplayName = hubContentDisplayName; } /** ** The display name of the hub content. *
* * @return The display name of the hub content. */ public String getHubContentDisplayName() { return this.hubContentDisplayName; } /** ** The display name of the hub content. *
* * @param hubContentDisplayName * The display name of the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentDisplayName(String hubContentDisplayName) { setHubContentDisplayName(hubContentDisplayName); return this; } /** ** A description of the hub content. *
* * @param hubContentDescription * A description of the hub content. */ public void setHubContentDescription(String hubContentDescription) { this.hubContentDescription = hubContentDescription; } /** ** A description of the hub content. *
* * @return A description of the hub content. */ public String getHubContentDescription() { return this.hubContentDescription; } /** ** A description of the hub content. *
* * @param hubContentDescription * A description of the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentDescription(String hubContentDescription) { setHubContentDescription(hubContentDescription); return this; } /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
* * @param hubContentMarkdown * A string that provides a description of the hub content. This string can include links, tables, and * standard markdown formating. */ public void setHubContentMarkdown(String hubContentMarkdown) { this.hubContentMarkdown = hubContentMarkdown; } /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
* * @return A string that provides a description of the hub content. This string can include links, tables, and * standard markdown formating. */ public String getHubContentMarkdown() { return this.hubContentMarkdown; } /** ** A string that provides a description of the hub content. This string can include links, tables, and standard * markdown formating. *
* * @param hubContentMarkdown * A string that provides a description of the hub content. This string can include links, tables, and * standard markdown formating. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentMarkdown(String hubContentMarkdown) { setHubContentMarkdown(hubContentMarkdown); return this; } /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
* * @param hubContentDocument * The hub content document that describes information about the hub content such as type, associated * containers, scripts, and more. */ public void setHubContentDocument(String hubContentDocument) { this.hubContentDocument = hubContentDocument; } /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
* * @return The hub content document that describes information about the hub content such as type, associated * containers, scripts, and more. */ public String getHubContentDocument() { return this.hubContentDocument; } /** ** The hub content document that describes information about the hub content such as type, associated containers, * scripts, and more. *
* * @param hubContentDocument * The hub content document that describes information about the hub content such as type, associated * containers, scripts, and more. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentDocument(String hubContentDocument) { setHubContentDocument(hubContentDocument); return this; } /** ** The searchable keywords for the hub content. *
* * @return The searchable keywords for the hub content. */ public java.util.List* The searchable keywords for the hub content. *
* * @param hubContentSearchKeywords * The searchable keywords for the hub content. */ public void setHubContentSearchKeywords(java.util.Collection* The searchable keywords for the hub content. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setHubContentSearchKeywords(java.util.Collection)} or * {@link #withHubContentSearchKeywords(java.util.Collection)} if you want to override the existing values. *
* * @param hubContentSearchKeywords * The searchable keywords for the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentSearchKeywords(String... hubContentSearchKeywords) { if (this.hubContentSearchKeywords == null) { setHubContentSearchKeywords(new java.util.ArrayList* The searchable keywords for the hub content. *
* * @param hubContentSearchKeywords * The searchable keywords for the hub content. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentSearchKeywords(java.util.Collection* The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. *
* * @return The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. */ public java.util.List* The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. *
* * @param hubContentDependencies * The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. */ public void setHubContentDependencies(java.util.Collection* The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setHubContentDependencies(java.util.Collection)} or * {@link #withHubContentDependencies(java.util.Collection)} if you want to override the existing values. *
* * @param hubContentDependencies * The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentDependencies(HubContentDependency... hubContentDependencies) { if (this.hubContentDependencies == null) { setHubContentDependencies(new java.util.ArrayList* The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. *
* * @param hubContentDependencies * The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or * notebooks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withHubContentDependencies(java.util.Collection* The status of the hub content. *
* * @param hubContentStatus * The status of the hub content. * @see HubContentStatus */ public void setHubContentStatus(String hubContentStatus) { this.hubContentStatus = hubContentStatus; } /** ** The status of the hub content. *
* * @return The status of the hub content. * @see HubContentStatus */ public String getHubContentStatus() { return this.hubContentStatus; } /** ** The status of the hub content. *
* * @param hubContentStatus * The status of the hub content. * @return Returns a reference to this object so that method calls can be chained together. * @see HubContentStatus */ public DescribeHubContentResult withHubContentStatus(String hubContentStatus) { setHubContentStatus(hubContentStatus); return this; } /** ** The status of the hub content. *
* * @param hubContentStatus * The status of the hub content. * @return Returns a reference to this object so that method calls can be chained together. * @see HubContentStatus */ public DescribeHubContentResult withHubContentStatus(HubContentStatus hubContentStatus) { this.hubContentStatus = hubContentStatus.toString(); return this; } /** ** The failure reason if importing hub content failed. *
* * @param failureReason * The failure reason if importing hub content failed. */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** ** The failure reason if importing hub content failed. *
* * @return The failure reason if importing hub content failed. */ public String getFailureReason() { return this.failureReason; } /** ** The failure reason if importing hub content failed. *
* * @param failureReason * The failure reason if importing hub content failed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withFailureReason(String failureReason) { setFailureReason(failureReason); return this; } /** ** The date and time that hub content was created. *
* * @param creationTime * The date and time that hub content was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** The date and time that hub content was created. *
* * @return The date and time that hub content was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** The date and time that hub content was created. *
* * @param creationTime * The date and time that hub content was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeHubContentResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); 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 (getHubContentName() != null) sb.append("HubContentName: ").append(getHubContentName()).append(","); if (getHubContentArn() != null) sb.append("HubContentArn: ").append(getHubContentArn()).append(","); if (getHubContentVersion() != null) sb.append("HubContentVersion: ").append(getHubContentVersion()).append(","); if (getHubContentType() != null) sb.append("HubContentType: ").append(getHubContentType()).append(","); if (getDocumentSchemaVersion() != null) sb.append("DocumentSchemaVersion: ").append(getDocumentSchemaVersion()).append(","); if (getHubName() != null) sb.append("HubName: ").append(getHubName()).append(","); if (getHubArn() != null) sb.append("HubArn: ").append(getHubArn()).append(","); if (getHubContentDisplayName() != null) sb.append("HubContentDisplayName: ").append(getHubContentDisplayName()).append(","); if (getHubContentDescription() != null) sb.append("HubContentDescription: ").append(getHubContentDescription()).append(","); if (getHubContentMarkdown() != null) sb.append("HubContentMarkdown: ").append(getHubContentMarkdown()).append(","); if (getHubContentDocument() != null) sb.append("HubContentDocument: ").append(getHubContentDocument()).append(","); if (getHubContentSearchKeywords() != null) sb.append("HubContentSearchKeywords: ").append(getHubContentSearchKeywords()).append(","); if (getHubContentDependencies() != null) sb.append("HubContentDependencies: ").append(getHubContentDependencies()).append(","); if (getHubContentStatus() != null) sb.append("HubContentStatus: ").append(getHubContentStatus()).append(","); if (getFailureReason() != null) sb.append("FailureReason: ").append(getFailureReason()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeHubContentResult == false) return false; DescribeHubContentResult other = (DescribeHubContentResult) obj; if (other.getHubContentName() == null ^ this.getHubContentName() == null) return false; if (other.getHubContentName() != null && other.getHubContentName().equals(this.getHubContentName()) == false) return false; if (other.getHubContentArn() == null ^ this.getHubContentArn() == null) return false; if (other.getHubContentArn() != null && other.getHubContentArn().equals(this.getHubContentArn()) == false) return false; if (other.getHubContentVersion() == null ^ this.getHubContentVersion() == null) return false; if (other.getHubContentVersion() != null && other.getHubContentVersion().equals(this.getHubContentVersion()) == false) return false; if (other.getHubContentType() == null ^ this.getHubContentType() == null) return false; if (other.getHubContentType() != null && other.getHubContentType().equals(this.getHubContentType()) == false) return false; if (other.getDocumentSchemaVersion() == null ^ this.getDocumentSchemaVersion() == null) return false; if (other.getDocumentSchemaVersion() != null && other.getDocumentSchemaVersion().equals(this.getDocumentSchemaVersion()) == false) return false; if (other.getHubName() == null ^ this.getHubName() == null) return false; if (other.getHubName() != null && other.getHubName().equals(this.getHubName()) == false) return false; if (other.getHubArn() == null ^ this.getHubArn() == null) return false; if (other.getHubArn() != null && other.getHubArn().equals(this.getHubArn()) == false) return false; if (other.getHubContentDisplayName() == null ^ this.getHubContentDisplayName() == null) return false; if (other.getHubContentDisplayName() != null && other.getHubContentDisplayName().equals(this.getHubContentDisplayName()) == false) return false; if (other.getHubContentDescription() == null ^ this.getHubContentDescription() == null) return false; if (other.getHubContentDescription() != null && other.getHubContentDescription().equals(this.getHubContentDescription()) == false) return false; if (other.getHubContentMarkdown() == null ^ this.getHubContentMarkdown() == null) return false; if (other.getHubContentMarkdown() != null && other.getHubContentMarkdown().equals(this.getHubContentMarkdown()) == false) return false; if (other.getHubContentDocument() == null ^ this.getHubContentDocument() == null) return false; if (other.getHubContentDocument() != null && other.getHubContentDocument().equals(this.getHubContentDocument()) == false) return false; if (other.getHubContentSearchKeywords() == null ^ this.getHubContentSearchKeywords() == null) return false; if (other.getHubContentSearchKeywords() != null && other.getHubContentSearchKeywords().equals(this.getHubContentSearchKeywords()) == false) return false; if (other.getHubContentDependencies() == null ^ this.getHubContentDependencies() == null) return false; if (other.getHubContentDependencies() != null && other.getHubContentDependencies().equals(this.getHubContentDependencies()) == false) return false; if (other.getHubContentStatus() == null ^ this.getHubContentStatus() == null) return false; if (other.getHubContentStatus() != null && other.getHubContentStatus().equals(this.getHubContentStatus()) == false) return false; if (other.getFailureReason() == null ^ this.getFailureReason() == null) return false; if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getHubContentName() == null) ? 0 : getHubContentName().hashCode()); hashCode = prime * hashCode + ((getHubContentArn() == null) ? 0 : getHubContentArn().hashCode()); hashCode = prime * hashCode + ((getHubContentVersion() == null) ? 0 : getHubContentVersion().hashCode()); hashCode = prime * hashCode + ((getHubContentType() == null) ? 0 : getHubContentType().hashCode()); hashCode = prime * hashCode + ((getDocumentSchemaVersion() == null) ? 0 : getDocumentSchemaVersion().hashCode()); hashCode = prime * hashCode + ((getHubName() == null) ? 0 : getHubName().hashCode()); hashCode = prime * hashCode + ((getHubArn() == null) ? 0 : getHubArn().hashCode()); hashCode = prime * hashCode + ((getHubContentDisplayName() == null) ? 0 : getHubContentDisplayName().hashCode()); hashCode = prime * hashCode + ((getHubContentDescription() == null) ? 0 : getHubContentDescription().hashCode()); hashCode = prime * hashCode + ((getHubContentMarkdown() == null) ? 0 : getHubContentMarkdown().hashCode()); hashCode = prime * hashCode + ((getHubContentDocument() == null) ? 0 : getHubContentDocument().hashCode()); hashCode = prime * hashCode + ((getHubContentSearchKeywords() == null) ? 0 : getHubContentSearchKeywords().hashCode()); hashCode = prime * hashCode + ((getHubContentDependencies() == null) ? 0 : getHubContentDependencies().hashCode()); hashCode = prime * hashCode + ((getHubContentStatus() == null) ? 0 : getHubContentStatus().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); return hashCode; } @Override public DescribeHubContentResult clone() { try { return (DescribeHubContentResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }