Class UpdateHubContentRequest

    • Method Detail

      • hubName

        public final String hubName()

        The name of the SageMaker hub that contains the hub content you want to update. You can optionally use the hub ARN instead.

        Returns:
        The name of the SageMaker hub that contains the hub content you want to update. You can optionally use the hub ARN instead.
      • hubContentName

        public final String hubContentName()

        The name of the hub content resource that you want to update.

        Returns:
        The name of the hub content resource that you want to update.
      • hubContentType

        public final HubContentType hubContentType()

        The content type of the resource that you want to update. Only specify a Model or Notebook resource for this API. To update a ModelReference, use the UpdateHubContentReference API instead.

        If the service returns an enum value that is not available in the current SDK version, hubContentType will return HubContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from hubContentTypeAsString().

        Returns:
        The content type of the resource that you want to update. Only specify a Model or Notebook resource for this API. To update a ModelReference, use the UpdateHubContentReference API instead.
        See Also:
        HubContentType
      • hubContentTypeAsString

        public final String hubContentTypeAsString()

        The content type of the resource that you want to update. Only specify a Model or Notebook resource for this API. To update a ModelReference, use the UpdateHubContentReference API instead.

        If the service returns an enum value that is not available in the current SDK version, hubContentType will return HubContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from hubContentTypeAsString().

        Returns:
        The content type of the resource that you want to update. Only specify a Model or Notebook resource for this API. To update a ModelReference, use the UpdateHubContentReference API instead.
        See Also:
        HubContentType
      • hubContentVersion

        public final String hubContentVersion()

        The hub content version that you want to update. For example, if you have two versions of a resource in your hub, you can update the second version.

        Returns:
        The hub content version that you want to update. For example, if you have two versions of a resource in your hub, you can update the second version.
      • hubContentDisplayName

        public final String hubContentDisplayName()

        The display name of the hub content.

        Returns:
        The display name of the hub content.
      • hubContentDescription

        public final String hubContentDescription()

        The description of the hub content.

        Returns:
        The description of the hub content.
      • hubContentMarkdown

        public final String hubContentMarkdown()

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

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

        public final boolean hasHubContentSearchKeywords()
        For responses, this returns true if the service returned a value for the HubContentSearchKeywords property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • hubContentSearchKeywords

        public final List<String> hubContentSearchKeywords()

        The searchable keywords of the hub content.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasHubContentSearchKeywords() method.

        Returns:
        The searchable keywords of the hub content.
      • toString

        public final String toString()
        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.
        Overrides:
        toString in class Object