Class CfnEventBridgeRuleTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnEventBridgeRuleTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBridgeRuleTemplateMixinProps>
- Enclosing interface:
CfnEventBridgeRuleTemplateMixinProps
@Stability(Stable)
public static final class CfnEventBridgeRuleTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBridgeRuleTemplateMixinProps>
A builder for
CfnEventBridgeRuleTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getDescription()eventTargets(List<? extends Object> eventTargets) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getEventTargets()eventTargets(IResolvable eventTargets) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getEventTargets()Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getEventType()groupIdentifier(String groupIdentifier) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getGroupIdentifier()Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getName()Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnEventBridgeRuleTemplateMixinProps.Builder description(String description) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getDescription()- Parameters:
description- A resource's optional description.- Returns:
this
-
eventTargets
@Stability(Stable) public CfnEventBridgeRuleTemplateMixinProps.Builder eventTargets(IResolvable eventTargets) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getEventTargets()- Parameters:
eventTargets- The destinations that will receive the event notifications.- Returns:
this
-
eventTargets
@Stability(Stable) public CfnEventBridgeRuleTemplateMixinProps.Builder eventTargets(List<? extends Object> eventTargets) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getEventTargets()- Parameters:
eventTargets- The destinations that will receive the event notifications.- Returns:
this
-
eventType
Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getEventType()- Parameters:
eventType- The type of event to match with the rule.- Returns:
this
-
groupIdentifier
@Stability(Stable) public CfnEventBridgeRuleTemplateMixinProps.Builder groupIdentifier(String groupIdentifier) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getGroupIdentifier()- Parameters:
groupIdentifier- An eventbridge rule template group's identifier. Can be either be its id or current name.- Returns:
this
-
name
Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getName()- Parameters:
name- A resource's name. Names must be unique within the scope of a resource type in a specific region.- Returns:
this
-
tags
@Stability(Stable) public CfnEventBridgeRuleTemplateMixinProps.Builder tags(Map<String, String> tags) Sets the value ofCfnEventBridgeRuleTemplateMixinProps.getTags()- Parameters:
tags- Represents the tags associated with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventBridgeRuleTemplateMixinProps>- Returns:
- a new instance of
CfnEventBridgeRuleTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-