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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Alert.BuilderalertCode(String alertCode)The code for the alert.Alert.BuilderalertMessage(String alertMessage)If an alert is generated for a resource, an explanation of the reason for the alert.Alert.Buildercategory(String category)The category that MediaTailor assigns to the alert.Alert.Buildercategory(AlertCategory category)The category that MediaTailor assigns to the alert.Alert.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when the alert was last modified.Alert.BuilderrelatedResourceArns(String... relatedResourceArns)The Amazon Resource Names (ARNs) related to this alert.Alert.BuilderrelatedResourceArns(Collection<String> relatedResourceArns)The Amazon Resource Names (ARNs) related to this alert.Alert.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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
-
-