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