Class CfnCampaign.TimeRangeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.TimeRangeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.TimeRangeProperty>
- Enclosing interface:
CfnCampaign.TimeRangeProperty
@Stability(Stable)
public static final class CfnCampaign.TimeRangeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.TimeRangeProperty>
A builder for
CfnCampaign.TimeRangeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaign.TimeRangeProperty.getEndTime()Sets the value ofCfnCampaign.TimeRangeProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endTime
Sets the value ofCfnCampaign.TimeRangeProperty.getEndTime()- Parameters:
endTime- The end time of the time range. This parameter is required.- Returns:
this
-
startTime
Sets the value ofCfnCampaign.TimeRangeProperty.getStartTime()- Parameters:
startTime- The start time of the time range. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.TimeRangeProperty>- Returns:
- a new instance of
CfnCampaign.TimeRangeProperty - Throws:
NullPointerException- if any required attribute was not provided
-