Class CfnDashboardPropsMixin.DateTimeRangeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin.DateTimeRangeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.DateTimeRangeProperty>
- Enclosing interface:
CfnDashboardPropsMixin.DateTimeRangeProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.DateTimeRangeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.DateTimeRangeProperty>
A builder for
CfnDashboardPropsMixin.DateTimeRangeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getEndTime()endTime(IResolvable endTime) Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getEndTime()Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getStartTime()startTime(IResolvable startTime) Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endTime
@Stability(Stable) public CfnDashboardPropsMixin.DateTimeRangeProperty.Builder endTime(IResolvable endTime) Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getEndTime()- Parameters:
endTime- the value to be set.- Returns:
this
-
endTime
@Stability(Stable) public CfnDashboardPropsMixin.DateTimeRangeProperty.Builder endTime(CfnDashboardPropsMixin.DateTimeValueProperty endTime) Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getEndTime()- Parameters:
endTime- the value to be set.- Returns:
this
-
startTime
@Stability(Stable) public CfnDashboardPropsMixin.DateTimeRangeProperty.Builder startTime(IResolvable startTime) Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getStartTime()- Parameters:
startTime- the value to be set.- Returns:
this
-
startTime
@Stability(Stable) public CfnDashboardPropsMixin.DateTimeRangeProperty.Builder startTime(CfnDashboardPropsMixin.DateTimeValueProperty startTime) Sets the value ofCfnDashboardPropsMixin.DateTimeRangeProperty.getStartTime()- Parameters:
startTime- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.DateTimeRangeProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.DateTimeRangeProperty - Throws:
NullPointerException- if any required attribute was not provided
-