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