Interface AsyncInferenceNotificationConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AsyncInferenceNotificationConfig.Builder,AsyncInferenceNotificationConfig>, SdkBuilder<AsyncInferenceNotificationConfig.Builder,AsyncInferenceNotificationConfig>, SdkPojo
Enclosing class:
AsyncInferenceNotificationConfig

public static interface AsyncInferenceNotificationConfig.Builder extends SdkPojo, CopyableBuilder<AsyncInferenceNotificationConfig.Builder,AsyncInferenceNotificationConfig>
  • Method Details

    • 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

      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.