Class BatchInferenceJob

    • Method Detail

      • jobName

        public final String jobName()

        The name of the batch inference job.

        Returns:
        The name of the batch inference job.
      • batchInferenceJobArn

        public final String batchInferenceJobArn()

        The Amazon Resource Name (ARN) of the batch inference job.

        Returns:
        The Amazon Resource Name (ARN) of the batch inference job.
      • filterArn

        public final String filterArn()

        The ARN of the filter used on the batch inference job.

        Returns:
        The ARN of the filter used on the batch inference job.
      • failureReason

        public final String failureReason()

        If the batch inference job failed, the reason for the failure.

        Returns:
        If the batch inference job failed, the reason for the failure.
      • solutionVersionArn

        public final String solutionVersionArn()

        The Amazon Resource Name (ARN) of the solution version from which the batch inference job was created.

        Returns:
        The Amazon Resource Name (ARN) of the solution version from which the batch inference job was created.
      • numResults

        public final Integer numResults()

        The number of recommendations generated by the batch inference job. This number includes the error messages generated for failed input records.

        Returns:
        The number of recommendations generated by the batch inference job. This number includes the error messages generated for failed input records.
      • jobInput

        public final BatchInferenceJobInput jobInput()

        The Amazon S3 path that leads to the input data used to generate the batch inference job.

        Returns:
        The Amazon S3 path that leads to the input data used to generate the batch inference job.
      • jobOutput

        public final BatchInferenceJobOutput jobOutput()

        The Amazon S3 bucket that contains the output data generated by the batch inference job.

        Returns:
        The Amazon S3 bucket that contains the output data generated by the batch inference job.
      • batchInferenceJobConfig

        public final BatchInferenceJobConfig batchInferenceJobConfig()

        A string to string map of the configuration details of a batch inference job.

        Returns:
        A string to string map of the configuration details of a batch inference job.
      • roleArn

        public final String roleArn()

        The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch inference job.

        Returns:
        The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch inference job.
      • themeGenerationConfig

        public final ThemeGenerationConfig themeGenerationConfig()

        The job's theme generation settings.

        Returns:
        The job's theme generation settings.
      • status

        public final String status()

        The status of the batch inference job. The status is one of the following values:

        • PENDING

        • IN PROGRESS

        • ACTIVE

        • CREATE FAILED

        Returns:
        The status of the batch inference job. The status is one of the following values:

        • PENDING

        • IN PROGRESS

        • ACTIVE

        • CREATE FAILED

      • creationDateTime

        public final Instant creationDateTime()

        The time at which the batch inference job was created.

        Returns:
        The time at which the batch inference job was created.
      • lastUpdatedDateTime

        public final Instant lastUpdatedDateTime()

        The time at which the batch inference job was last updated.

        Returns:
        The time at which the batch inference job was last updated.
      • 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)