Class CodeConnectContact.CodeConnectContactProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.connect.events.CodeConnectContact.CodeConnectContactProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeConnectContact.CodeConnectContactProps>
- Enclosing interface:
CodeConnectContact.CodeConnectContactProps
@Stability(Experimental)
public static final class CodeConnectContact.CodeConnectContactProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodeConnectContact.CodeConnectContactProps>
A builder for
CodeConnectContact.CodeConnectContactProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentInfo(CodeConnectContact.AgentInfo agentInfo) Sets the value ofCodeConnectContact.CodeConnectContactProps.getAgentInfo()build()Builds the configured instance.Sets the value ofCodeConnectContact.CodeConnectContactProps.getChannel()Sets the value ofCodeConnectContact.CodeConnectContactProps.getContactId()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodeConnectContact.CodeConnectContactProps.getEventMetadata()Sets the value ofCodeConnectContact.CodeConnectContactProps.getEventType()initialContactId(List<String> initialContactId) Sets the value ofCodeConnectContact.CodeConnectContactProps.getInitialContactId()initiationMethod(List<String> initiationMethod) Sets the value ofCodeConnectContact.CodeConnectContactProps.getInitiationMethod()instanceArn(List<String> instanceArn) Sets the value ofCodeConnectContact.CodeConnectContactProps.getInstanceArn()previousContactId(List<String> previousContactId) Sets the value ofCodeConnectContact.CodeConnectContactProps.getPreviousContactId()queueInfo(CodeConnectContact.QueueInfo queueInfo) Sets the value ofCodeConnectContact.CodeConnectContactProps.getQueueInfo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentInfo
@Stability(Experimental) public CodeConnectContact.CodeConnectContactProps.Builder agentInfo(CodeConnectContact.AgentInfo agentInfo) Sets the value ofCodeConnectContact.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 CodeConnectContact.CodeConnectContactProps.Builder channel(List<String> channel) Sets the value ofCodeConnectContact.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 CodeConnectContact.CodeConnectContactProps.Builder contactId(List<String> contactId) Sets the value ofCodeConnectContact.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 CodeConnectContact.CodeConnectContactProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodeConnectContact.CodeConnectContactProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventType
@Stability(Experimental) public CodeConnectContact.CodeConnectContactProps.Builder eventType(List<String> eventType) Sets the value ofCodeConnectContact.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 CodeConnectContact.CodeConnectContactProps.Builder initialContactId(List<String> initialContactId) Sets the value ofCodeConnectContact.CodeConnectContactProps.getInitialContactId()- 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 CodeConnectContact.CodeConnectContactProps.Builder initiationMethod(List<String> initiationMethod) Sets the value ofCodeConnectContact.CodeConnectContactProps.getInitiationMethod()- 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 CodeConnectContact.CodeConnectContactProps.Builder instanceArn(List<String> instanceArn) Sets the value ofCodeConnectContact.CodeConnectContactProps.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
-
previousContactId
@Stability(Experimental) public CodeConnectContact.CodeConnectContactProps.Builder previousContactId(List<String> previousContactId) Sets the value ofCodeConnectContact.CodeConnectContactProps.getPreviousContactId()- 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 CodeConnectContact.CodeConnectContactProps.Builder queueInfo(CodeConnectContact.QueueInfo queueInfo) Sets the value ofCodeConnectContact.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<CodeConnectContact.CodeConnectContactProps>- Returns:
- a new instance of
CodeConnectContact.CodeConnectContactProps - Throws:
NullPointerException- if any required attribute was not provided
-