Class CfnInstancePropsMixin.MonthlyTransferProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnInstancePropsMixin.MonthlyTransferProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstancePropsMixin.MonthlyTransferProperty>
- Enclosing interface:
CfnInstancePropsMixin.MonthlyTransferProperty
@Stability(Stable)
public static final class CfnInstancePropsMixin.MonthlyTransferProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstancePropsMixin.MonthlyTransferProperty>
A builder for
CfnInstancePropsMixin.MonthlyTransferProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gbPerMonthAllocated(String gbPerMonthAllocated) Sets the value ofCfnInstancePropsMixin.MonthlyTransferProperty.getGbPerMonthAllocated()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gbPerMonthAllocated
@Stability(Stable) public CfnInstancePropsMixin.MonthlyTransferProperty.Builder gbPerMonthAllocated(String gbPerMonthAllocated) Sets the value ofCfnInstancePropsMixin.MonthlyTransferProperty.getGbPerMonthAllocated()- Parameters:
gbPerMonthAllocated- The amount of allocated monthly data transfer (in GB) for an instance.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstancePropsMixin.MonthlyTransferProperty>- Returns:
- a new instance of
CfnInstancePropsMixin.MonthlyTransferProperty - Throws:
NullPointerException- if any required attribute was not provided
-