Class CfnCampaignPropsMixin.StorageMaximumSizeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnCampaignPropsMixin.StorageMaximumSizeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.StorageMaximumSizeProperty>
- Enclosing interface:
CfnCampaignPropsMixin.StorageMaximumSizeProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.StorageMaximumSizeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.StorageMaximumSizeProperty>
A builder for
CfnCampaignPropsMixin.StorageMaximumSizeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaignPropsMixin.StorageMaximumSizeProperty.getUnit()Sets the value ofCfnCampaignPropsMixin.StorageMaximumSizeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
unit
@Stability(Stable) public CfnCampaignPropsMixin.StorageMaximumSizeProperty.Builder unit(String unit) Sets the value ofCfnCampaignPropsMixin.StorageMaximumSizeProperty.getUnit()- Parameters:
unit- The data type of the data to store.- Returns:
this
-
value
@Stability(Stable) public CfnCampaignPropsMixin.StorageMaximumSizeProperty.Builder value(Number value) Sets the value ofCfnCampaignPropsMixin.StorageMaximumSizeProperty.getValue()- Parameters:
value- The maximum amount of time to store data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.StorageMaximumSizeProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.StorageMaximumSizeProperty - Throws:
NullPointerException- if any required attribute was not provided
-