Class CfnCampaignPropsMixin.PreviewConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.CfnCampaignPropsMixin.PreviewConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.PreviewConfigProperty>
- Enclosing interface:
CfnCampaignPropsMixin.PreviewConfigProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.PreviewConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.PreviewConfigProperty>
A builder for
CfnCampaignPropsMixin.PreviewConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentActions(List<String> agentActions) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getAgentActions()bandwidthAllocation(Number bandwidthAllocation) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getBandwidthAllocation()build()Builds the configured instance.timeoutConfig(CfnCampaignPropsMixin.TimeoutConfigProperty timeoutConfig) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getTimeoutConfig()timeoutConfig(IResolvable timeoutConfig) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getTimeoutConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentActions
@Stability(Stable) public CfnCampaignPropsMixin.PreviewConfigProperty.Builder agentActions(List<String> agentActions) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getAgentActions()- Parameters:
agentActions- Agent actions for the preview outbound mode.- Returns:
this
-
bandwidthAllocation
@Stability(Stable) public CfnCampaignPropsMixin.PreviewConfigProperty.Builder bandwidthAllocation(Number bandwidthAllocation) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getBandwidthAllocation()- Parameters:
bandwidthAllocation- Bandwidth allocation for the preview outbound mode.- Returns:
this
-
timeoutConfig
@Stability(Stable) public CfnCampaignPropsMixin.PreviewConfigProperty.Builder timeoutConfig(IResolvable timeoutConfig) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getTimeoutConfig()- Parameters:
timeoutConfig- Countdown timer configuration for preview outbound mode.- Returns:
this
-
timeoutConfig
@Stability(Stable) public CfnCampaignPropsMixin.PreviewConfigProperty.Builder timeoutConfig(CfnCampaignPropsMixin.TimeoutConfigProperty timeoutConfig) Sets the value ofCfnCampaignPropsMixin.PreviewConfigProperty.getTimeoutConfig()- Parameters:
timeoutConfig- Countdown timer configuration for preview outbound mode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.PreviewConfigProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.PreviewConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-