Class CfnFeatureGroupPropsMixin.TtlDurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnFeatureGroupPropsMixin.TtlDurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.TtlDurationProperty>
- Enclosing interface:
CfnFeatureGroupPropsMixin.TtlDurationProperty
@Stability(Stable)
public static final class CfnFeatureGroupPropsMixin.TtlDurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.TtlDurationProperty>
A builder for
CfnFeatureGroupPropsMixin.TtlDurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFeatureGroupPropsMixin.TtlDurationProperty.getUnit()Sets the value ofCfnFeatureGroupPropsMixin.TtlDurationProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
unit
Sets the value ofCfnFeatureGroupPropsMixin.TtlDurationProperty.getUnit()- Parameters:
unit-TtlDurationtime unit.- Returns:
this
-
value
Sets the value ofCfnFeatureGroupPropsMixin.TtlDurationProperty.getValue()- Parameters:
value-TtlDurationtime value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.TtlDurationProperty>- Returns:
- a new instance of
CfnFeatureGroupPropsMixin.TtlDurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-