Class CfnScheduledReportPropsMixin.DateTimeValueProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnScheduledReportPropsMixin.DateTimeValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledReportPropsMixin.DateTimeValueProperty>
- Enclosing interface:
CfnScheduledReportPropsMixin.DateTimeValueProperty
@Stability(Stable)
public static final class CfnScheduledReportPropsMixin.DateTimeValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledReportPropsMixin.DateTimeValueProperty>
A builder for
CfnScheduledReportPropsMixin.DateTimeValueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnScheduledReportPropsMixin.DateTimeValueProperty.getType()Sets the value ofCfnScheduledReportPropsMixin.DateTimeValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnScheduledReportPropsMixin.DateTimeValueProperty.Builder type(String type) Sets the value ofCfnScheduledReportPropsMixin.DateTimeValueProperty.getType()- Parameters:
type- Whether a date value is absolute or relative.- Returns:
this
-
value
@Stability(Stable) public CfnScheduledReportPropsMixin.DateTimeValueProperty.Builder value(String value) Sets the value ofCfnScheduledReportPropsMixin.DateTimeValueProperty.getValue()- Parameters:
value- The date, or an ISO 8601 duration when Type is RELATIVE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledReportPropsMixin.DateTimeValueProperty>- Returns:
- a new instance of
CfnScheduledReportPropsMixin.DateTimeValueProperty - Throws:
NullPointerException- if any required attribute was not provided
-