Class CustomModelSummary

    • Method Detail

      • modelArn

        public final String modelArn()

        The Amazon Resource Name (ARN) of the custom model.

        Returns:
        The Amazon Resource Name (ARN) of the custom model.
      • modelName

        public final String modelName()

        The name of the custom model.

        Returns:
        The name of the custom model.
      • creationTime

        public final Instant creationTime()

        Creation time of the model.

        Returns:
        Creation time of the model.
      • baseModelArn

        public final String baseModelArn()

        The base model Amazon Resource Name (ARN).

        Returns:
        The base model Amazon Resource Name (ARN).
      • baseModelName

        public final String baseModelName()

        The base model name.

        Returns:
        The base model name.
      • customizationTypeAsString

        public final String customizationTypeAsString()

        Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.

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

        Returns:
        Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
        See Also:
        CustomizationType
      • ownerAccountId

        public final String ownerAccountId()

        The unique identifier of the account that owns the model.

        Returns:
        The unique identifier of the account that owns the model.
      • modelStatus

        public final ModelStatus modelStatus()

        The current status of the custom model. Possible values include:

        • Creating - The model is being created and validated.

        • Active - The model has been successfully created and is ready for use.

        • Failed - The model creation process failed.

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

        Returns:
        The current status of the custom model. Possible values include:

        • Creating - The model is being created and validated.

        • Active - The model has been successfully created and is ready for use.

        • Failed - The model creation process failed.

        See Also:
        ModelStatus
      • modelStatusAsString

        public final String modelStatusAsString()

        The current status of the custom model. Possible values include:

        • Creating - The model is being created and validated.

        • Active - The model has been successfully created and is ready for use.

        • Failed - The model creation process failed.

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

        Returns:
        The current status of the custom model. Possible values include:

        • Creating - The model is being created and validated.

        • Active - The model has been successfully created and is ready for use.

        • Failed - The model creation process failed.

        See Also:
        ModelStatus
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)