Class InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.connect.events.InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.CodeConnectContact.CodeConnectContactProps>
- Enclosing interface:
InstanceEvents.CodeConnectContact.CodeConnectContactProps
@Stability(Experimental)
public static final class InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.CodeConnectContact.CodeConnectContactProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getAgentInfo()build()Builds the configured instance.Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getChannel()Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getContactId()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getEventType()initialContactId(List<String> initialContactId) initiationMethod(List<String> initiationMethod) instanceArn(List<String> instanceArn) previousContactId(List<String> previousContactId) Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getQueueInfo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentInfo
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder agentInfo(InstanceEvents.CodeConnectContact.AgentInfo agentInfo) Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getAgentInfo()- Parameters:
agentInfo- agentInfo property. Specify an array of string values to match this event if the actual value of agentInfo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
channel
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder channel(List<String> channel) Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getChannel()- Parameters:
channel- channel property. Specify an array of string values to match this event if the actual value of channel is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
contactId
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder contactId(List<String> contactId) Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getContactId()- Parameters:
contactId- contactId property. Specify an array of string values to match this event if the actual value of contactId 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.CodeConnectContact.CodeConnectContactProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventType
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder eventType(List<String> eventType) Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getEventType()- Parameters:
eventType- eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
initialContactId
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder initialContactId(List<String> initialContactId) - Parameters:
initialContactId- initialContactId property. Specify an array of string values to match this event if the actual value of initialContactId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
initiationMethod
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder initiationMethod(List<String> initiationMethod) - Parameters:
initiationMethod- initiationMethod property. Specify an array of string values to match this event if the actual value of initiationMethod is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instanceArn
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder instanceArn(List<String> instanceArn) - 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
-
previousContactId
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder previousContactId(List<String> previousContactId) - Parameters:
previousContactId- previousContactId property. Specify an array of string values to match this event if the actual value of previousContactId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
queueInfo
@Stability(Experimental) public InstanceEvents.CodeConnectContact.CodeConnectContactProps.Builder queueInfo(InstanceEvents.CodeConnectContact.QueueInfo queueInfo) Sets the value ofInstanceEvents.CodeConnectContact.CodeConnectContactProps.getQueueInfo()- Parameters:
queueInfo- queueInfo property. Specify an array of string values to match this event if the actual value of queueInfo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceEvents.CodeConnectContact.CodeConnectContactProps>- Returns:
- a new instance of
InstanceEvents.CodeConnectContact.CodeConnectContactProps - Throws:
NullPointerException- if any required attribute was not provided
-