Class CfnInstance.MonthlyTransferProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnInstance.MonthlyTransferProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstance.MonthlyTransferProperty>
- Enclosing interface:
CfnInstance.MonthlyTransferProperty
@Stability(Stable)
public static final class CfnInstance.MonthlyTransferProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstance.MonthlyTransferProperty>
A builder for
CfnInstance.MonthlyTransferProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.gbPerMonthAllocated
(String gbPerMonthAllocated) Sets the value ofCfnInstance.MonthlyTransferProperty.getGbPerMonthAllocated()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gbPerMonthAllocated
@Stability(Stable) public CfnInstance.MonthlyTransferProperty.Builder gbPerMonthAllocated(String gbPerMonthAllocated) Sets the value ofCfnInstance.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstance.MonthlyTransferProperty>
- Returns:
- a new instance of
CfnInstance.MonthlyTransferProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-