Class UpdateHubContentReferenceRequest

    • 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 ModelReference resource for this API. To update a Model or Notebook resource, use the UpdateHubContent 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 ModelReference resource for this API. To update a Model or Notebook resource, use the UpdateHubContent API instead.
        See Also:
        HubContentType
      • hubContentTypeAsString

        public final String hubContentTypeAsString()

        The content type of the resource that you want to update. Only specify a ModelReference resource for this API. To update a Model or Notebook resource, use the UpdateHubContent 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 ModelReference resource for this API. To update a Model or Notebook resource, use the UpdateHubContent API instead.
        See Also:
        HubContentType
      • minVersion

        public final String minVersion()

        The minimum hub content version of the referenced model that you want to use. The minimum version must be older than the latest available version of the referenced model. To support all versions of a model, set the value to 1.0.0.

        Returns:
        The minimum hub content version of the referenced model that you want to use. The minimum version must be older than the latest available version of the referenced model. To support all versions of a model, set the value to 1.0.0.
      • 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