Class InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.connect.events.InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps>
- Enclosing interface:
InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps
@Stability(Experimental)
public static final class InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionName(List<String> actionName) build()Builds the configured instance.contactArn(List<String> contactArn) eventMetadata(AWSEventMetadataProps eventMetadata) instanceArn(List<String> instanceArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionName
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder actionName(List<String> actionName) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getActionName()- Parameters:
actionName- actionName property. Specify an array of string values to match this event if the actual value of actionName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
agentArn
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder agentArn(List<String> agentArn) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getAgentArn()- Parameters:
agentArn- agentArn property. Specify an array of string values to match this event if the actual value of agentArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
contactArn
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder contactArn(List<String> contactArn) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getContactArn()- Parameters:
contactArn- contactArn property. Specify an array of string values to match this event if the actual value of contactArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
instanceArn
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder instanceArn(List<String> instanceArn) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getInstanceArn()- Parameters:
instanceArn- instanceArn property. Specify an array of string values to match this event if the actual value of instanceArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
queueArn
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder queueArn(List<String> queueArn) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getQueueArn()- Parameters:
queueArn- queueArn property. Specify an array of string values to match this event if the actual value of queueArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ruleName
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder ruleName(List<String> ruleName) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getRuleName()- Parameters:
ruleName- ruleName property. Specify an array of string values to match this event if the actual value of ruleName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
version
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.Builder version(List<String> version) Sets the value ofInstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps.getVersion()- Parameters:
version- version property. Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps>- Returns:
- a new instance of
InstanceEvents.ContactLensRealtimeRulesMatched.ContactLensRealtimeRulesMatchedProps - Throws:
NullPointerException- if any required attribute was not provided
-