Class CfnEventBridgeRuleTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnEventBridgeRuleTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBridgeRuleTemplate>
- Enclosing class:
CfnEventBridgeRuleTemplate
@Stability(Stable)
public static final class CfnEventBridgeRuleTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBridgeRuleTemplate>
A fluent builder for
CfnEventBridgeRuleTemplate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) A resource's optional description.eventTargets
(List<? extends Object> eventTargets) The destinations that will receive the event notifications.eventTargets
(IResolvable eventTargets) The destinations that will receive the event notifications.The type of event to match with the rule.groupIdentifier
(String groupIdentifier) An eventbridge rule template group's identifier.A resource's name.Represents the tags associated with a resource.
-
Method Details
-
create
@Stability(Stable) public static CfnEventBridgeRuleTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEventBridgeRuleTemplate.Builder
.
-
eventType
The type of event to match with the rule.- Parameters:
eventType
- The type of event to match with the rule. This parameter is required.- Returns:
this
- See Also:
-
groupIdentifier
@Stability(Stable) public CfnEventBridgeRuleTemplate.Builder groupIdentifier(String groupIdentifier) An eventbridge rule template group's identifier.Can be either be its id or current name.
- Parameters:
groupIdentifier
- An eventbridge rule template group's identifier. This parameter is required.- Returns:
this
- See Also:
-
name
A resource's name.Names must be unique within the scope of a resource type in a specific region.
- Parameters:
name
- A resource's name. This parameter is required.- Returns:
this
- See Also:
-
description
A resource's optional description.- Parameters:
description
- A resource's optional description. This parameter is required.- Returns:
this
- See Also:
-
eventTargets
The destinations that will receive the event notifications.- Parameters:
eventTargets
- The destinations that will receive the event notifications. This parameter is required.- Returns:
this
- See Also:
-
eventTargets
@Stability(Stable) public CfnEventBridgeRuleTemplate.Builder eventTargets(List<? extends Object> eventTargets) The destinations that will receive the event notifications.- Parameters:
eventTargets
- The destinations that will receive the event notifications. This parameter is required.- Returns:
this
- See Also:
-
tags
Represents the tags associated with a resource.- Parameters:
tags
- Represents the tags associated with a resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventBridgeRuleTemplate>
- Returns:
- a newly built instance of
CfnEventBridgeRuleTemplate
.
-