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
-
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
-TtlDuration
time unit.- Returns:
this
-
value
Sets the value ofCfnFeatureGroup.TtlDurationProperty.getValue()
- Parameters:
value
-TtlDuration
time value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFeatureGroup.TtlDurationProperty>
- Returns:
- a new instance of
CfnFeatureGroup.TtlDurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-