Interface AsyncInferenceNotificationConfig.Builder

    • Method Detail

      • successTopic

        AsyncInferenceNotificationConfig.Builder successTopic​(String successTopic)

        Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.

        Parameters:
        successTopic - Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorTopic

        AsyncInferenceNotificationConfig.Builder errorTopic​(String errorTopic)

        Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.

        Parameters:
        errorTopic - Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeInferenceResponseInWithStrings

        AsyncInferenceNotificationConfig.Builder includeInferenceResponseInWithStrings​(Collection<String> includeInferenceResponseIn)

        The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Parameters:
        includeInferenceResponseIn - The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeInferenceResponseInWithStrings

        AsyncInferenceNotificationConfig.Builder includeInferenceResponseInWithStrings​(String... includeInferenceResponseIn)

        The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Parameters:
        includeInferenceResponseIn - The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeInferenceResponseIn

        AsyncInferenceNotificationConfig.Builder includeInferenceResponseIn​(Collection<AsyncNotificationTopicTypes> includeInferenceResponseIn)

        The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Parameters:
        includeInferenceResponseIn - The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includeInferenceResponseIn

        AsyncInferenceNotificationConfig.Builder includeInferenceResponseIn​(AsyncNotificationTopicTypes... includeInferenceResponseIn)

        The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Parameters:
        includeInferenceResponseIn - The Amazon SNS topics where you want the inference response to be included.

        The inference response is included only if the response size is less than or equal to 128 KB.

        Returns:
        Returns a reference to this object so that method calls can be chained together.