Interface HubContent.Builder

  • Method Details

    • hubContentName

      HubContent.Builder hubContentName(String hubContentName)

      The name of the hub content.

      Parameters:
      hubContentName - The name of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentArn

      HubContent.Builder hubContentArn(String hubContentArn)

      The Amazon Resource Name (ARN) of the hub content.

      Parameters:
      hubContentArn - The Amazon Resource Name (ARN) of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentVersion

      HubContent.Builder hubContentVersion(String hubContentVersion)

      The version of the hub content.

      Parameters:
      hubContentVersion - The version of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentType

      HubContent.Builder hubContentType(String hubContentType)

      The type of hub content.

      Parameters:
      hubContentType - The type of hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hubContentType

      HubContent.Builder hubContentType(HubContentType hubContentType)

      The type of hub content.

      Parameters:
      hubContentType - The type of hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • documentSchemaVersion

      HubContent.Builder documentSchemaVersion(String documentSchemaVersion)

      The document schema version for the hub content.

      Parameters:
      documentSchemaVersion - The document schema version for the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubName

      HubContent.Builder hubName(String hubName)

      The name of the hub that contains the content.

      Parameters:
      hubName - The name of the hub that contains the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubArn

      HubContent.Builder hubArn(String hubArn)

      The Amazon Resource Name (ARN) of the hub that contains the content.

      Parameters:
      hubArn - The Amazon Resource Name (ARN) of the hub that contains the content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentDisplayName

      HubContent.Builder hubContentDisplayName(String hubContentDisplayName)

      The display name of the hub content.

      Parameters:
      hubContentDisplayName - The display name of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentDescription

      HubContent.Builder hubContentDescription(String hubContentDescription)

      A description of the hub content.

      Parameters:
      hubContentDescription - A description of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentMarkdown

      HubContent.Builder hubContentMarkdown(String hubContentMarkdown)

      A string that provides a description of the hub content. This string can include links, tables, and standard markdown formatting.

      Parameters:
      hubContentMarkdown - A string that provides a description of the hub content. This string can include links, tables, and standard markdown formatting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentDocument

      HubContent.Builder hubContentDocument(String hubContentDocument)

      The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.

      Parameters:
      hubContentDocument - The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sageMakerPublicHubContentArn

      HubContent.Builder sageMakerPublicHubContentArn(String sageMakerPublicHubContentArn)

      The Amazon Resource Name (ARN) of the public hub content.

      Parameters:
      sageMakerPublicHubContentArn - The Amazon Resource Name (ARN) of the public hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • referenceMinVersion

      HubContent.Builder referenceMinVersion(String referenceMinVersion)

      The minimum version of the hub content.

      Parameters:
      referenceMinVersion - The minimum version of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportStatus

      HubContent.Builder supportStatus(String supportStatus)

      The support status of the hub content.

      Parameters:
      supportStatus - The support status of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • supportStatus

      HubContent.Builder supportStatus(HubContentSupportStatus supportStatus)

      The support status of the hub content.

      Parameters:
      supportStatus - The support status of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hubContentSearchKeywords

      HubContent.Builder hubContentSearchKeywords(Collection<String> hubContentSearchKeywords)

      The searchable keywords for the hub content.

      Parameters:
      hubContentSearchKeywords - The searchable keywords for the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentSearchKeywords

      HubContent.Builder hubContentSearchKeywords(String... hubContentSearchKeywords)

      The searchable keywords for the hub content.

      Parameters:
      hubContentSearchKeywords - The searchable keywords for the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentDependencies

      HubContent.Builder hubContentDependencies(Collection<HubContentDependency> hubContentDependencies)

      The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.

      Parameters:
      hubContentDependencies - The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentDependencies

      HubContent.Builder hubContentDependencies(HubContentDependency... hubContentDependencies)

      The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.

      Parameters:
      hubContentDependencies - The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hubContentDependencies

      HubContent.Builder hubContentDependencies(Consumer<HubContentDependency.Builder>... hubContentDependencies)

      The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.

      This is a convenience method that creates an instance of the HubContentDependency.Builder avoiding the need to create one manually via HubContentDependency.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hubContentDependencies(List<HubContentDependency>).

      Parameters:
      hubContentDependencies - a consumer that will call methods on HubContentDependency.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hubContentStatus

      HubContent.Builder hubContentStatus(String hubContentStatus)

      The status of the hub content.

      Parameters:
      hubContentStatus - The status of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hubContentStatus

      HubContent.Builder hubContentStatus(HubContentStatus hubContentStatus)

      The status of the hub content.

      Parameters:
      hubContentStatus - The status of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      HubContent.Builder failureReason(String failureReason)

      The failure reason if importing hub content failed.

      Parameters:
      failureReason - The failure reason if importing hub content failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      HubContent.Builder creationTime(Instant creationTime)

      The date and time that hub content was created.

      Parameters:
      creationTime - The date and time that hub content was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      HubContent.Builder lastModifiedTime(Instant lastModifiedTime)

      The last modified time of the hub content.

      Parameters:
      lastModifiedTime - The last modified time of the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags associated with the hub content.

      Parameters:
      tags - Any tags associated with the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      HubContent.Builder tags(Tag... tags)

      Any tags associated with the hub content.

      Parameters:
      tags - Any tags associated with the hub content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags associated with the hub content.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: