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