Class CfnCampaign.SignalFetchConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnCampaign.SignalFetchConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.SignalFetchConfigProperty>
- Enclosing interface:
CfnCampaign.SignalFetchConfigProperty
@Stability(Stable)
public static final class CfnCampaign.SignalFetchConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.SignalFetchConfigProperty>
A builder for
CfnCampaign.SignalFetchConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditionBased(IResolvable conditionBased) Sets the value ofCfnCampaign.SignalFetchConfigProperty.getConditionBased()conditionBased(CfnCampaign.ConditionBasedSignalFetchConfigProperty conditionBased) Sets the value ofCfnCampaign.SignalFetchConfigProperty.getConditionBased()timeBased(IResolvable timeBased) Sets the value ofCfnCampaign.SignalFetchConfigProperty.getTimeBased()Sets the value ofCfnCampaign.SignalFetchConfigProperty.getTimeBased()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditionBased
@Stability(Stable) public CfnCampaign.SignalFetchConfigProperty.Builder conditionBased(IResolvable conditionBased) Sets the value ofCfnCampaign.SignalFetchConfigProperty.getConditionBased()- Parameters:
conditionBased- The configuration of a condition-based signal fetch operation.- Returns:
this
-
conditionBased
@Stability(Stable) public CfnCampaign.SignalFetchConfigProperty.Builder conditionBased(CfnCampaign.ConditionBasedSignalFetchConfigProperty conditionBased) Sets the value ofCfnCampaign.SignalFetchConfigProperty.getConditionBased()- Parameters:
conditionBased- The configuration of a condition-based signal fetch operation.- Returns:
this
-
timeBased
@Stability(Stable) public CfnCampaign.SignalFetchConfigProperty.Builder timeBased(IResolvable timeBased) Sets the value ofCfnCampaign.SignalFetchConfigProperty.getTimeBased()- Parameters:
timeBased- The configuration of a time-based signal fetch operation.- Returns:
this
-
timeBased
@Stability(Stable) public CfnCampaign.SignalFetchConfigProperty.Builder timeBased(CfnCampaign.TimeBasedSignalFetchConfigProperty timeBased) Sets the value ofCfnCampaign.SignalFetchConfigProperty.getTimeBased()- Parameters:
timeBased- The configuration of a time-based signal fetch operation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.SignalFetchConfigProperty>- Returns:
- a new instance of
CfnCampaign.SignalFetchConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-