Interface Alert.Builder

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

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

    • alertCode

      Alert.Builder alertCode(String alertCode)

      The code for the alert. For example, NOT_PROCESSED.

      Parameters:
      alertCode - The code for the alert. For example, NOT_PROCESSED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alertMessage

      Alert.Builder alertMessage(String alertMessage)

      If an alert is generated for a resource, an explanation of the reason for the alert.

      Parameters:
      alertMessage - If an alert is generated for a resource, an explanation of the reason for the alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • category

      Alert.Builder category(String category)

      The category that MediaTailor assigns to the alert.

      Parameters:
      category - The category that MediaTailor assigns to the alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • category

      Alert.Builder category(AlertCategory category)

      The category that MediaTailor assigns to the alert.

      Parameters:
      category - The category that MediaTailor assigns to the alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastModifiedTime

      Alert.Builder lastModifiedTime(Instant lastModifiedTime)

      The timestamp when the alert was last modified.

      Parameters:
      lastModifiedTime - The timestamp when the alert was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relatedResourceArns

      Alert.Builder relatedResourceArns(Collection<String> relatedResourceArns)

      The Amazon Resource Names (ARNs) related to this alert.

      Parameters:
      relatedResourceArns - The Amazon Resource Names (ARNs) related to this alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relatedResourceArns

      Alert.Builder relatedResourceArns(String... relatedResourceArns)

      The Amazon Resource Names (ARNs) related to this alert.

      Parameters:
      relatedResourceArns - The Amazon Resource Names (ARNs) related to this alert.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      Alert.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the resource.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.