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