Class CfnBillScenario.BillIntervalProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bcmpricingcalculator.CfnBillScenario.BillIntervalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBillScenario.BillIntervalProperty>
- Enclosing interface:
CfnBillScenario.BillIntervalProperty
@Stability(Stable)
public static final class CfnBillScenario.BillIntervalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBillScenario.BillIntervalProperty>
A builder for
CfnBillScenario.BillIntervalProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBillScenario.BillIntervalProperty.getEnd()Sets the value ofCfnBillScenario.BillIntervalProperty.getStart()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
end
Sets the value ofCfnBillScenario.BillIntervalProperty.getEnd()- Parameters:
end- the value to be set.- Returns:
this
-
start
Sets the value ofCfnBillScenario.BillIntervalProperty.getStart()- Parameters:
start- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBillScenario.BillIntervalProperty>- Returns:
- a new instance of
CfnBillScenario.BillIntervalProperty - Throws:
NullPointerException- if any required attribute was not provided
-