Interface Alert.Builder

    • Method Detail

      • 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.
      • 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.
      • 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:
        AlertCategory, AlertCategory
      • 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:
        AlertCategory, AlertCategory