Class CfnSpendingLimitPropsMixin.TimePeriodProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.braket.CfnSpendingLimitPropsMixin.TimePeriodProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpendingLimitPropsMixin.TimePeriodProperty>
- Enclosing interface:
CfnSpendingLimitPropsMixin.TimePeriodProperty
@Stability(Stable)
public static final class CfnSpendingLimitPropsMixin.TimePeriodProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpendingLimitPropsMixin.TimePeriodProperty>
A builder for
CfnSpendingLimitPropsMixin.TimePeriodProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSpendingLimitPropsMixin.TimePeriodProperty.getEndAt()Sets the value ofCfnSpendingLimitPropsMixin.TimePeriodProperty.getStartAt()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endAt
Sets the value ofCfnSpendingLimitPropsMixin.TimePeriodProperty.getEndAt()- Parameters:
endAt- The end date and time for the spending limit period, in ISO 8601 format.- Returns:
this
-
startAt
@Stability(Stable) public CfnSpendingLimitPropsMixin.TimePeriodProperty.Builder startAt(String startAt) Sets the value ofCfnSpendingLimitPropsMixin.TimePeriodProperty.getStartAt()- Parameters:
startAt- The start date and time for the spending limit period, in ISO 8601 format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpendingLimitPropsMixin.TimePeriodProperty>- Returns:
- a new instance of
CfnSpendingLimitPropsMixin.TimePeriodProperty - Throws:
NullPointerException- if any required attribute was not provided
-