Class CfnProjectPropsMixin.SampleProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.databrew.mixins.CfnProjectPropsMixin.SampleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectPropsMixin.SampleProperty>
- Enclosing interface:
CfnProjectPropsMixin.SampleProperty
@Stability(Stable)
public static final class CfnProjectPropsMixin.SampleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectPropsMixin.SampleProperty>
A builder for
CfnProjectPropsMixin.SampleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProjectPropsMixin.SampleProperty.getSize()Sets the value ofCfnProjectPropsMixin.SampleProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
size
Sets the value ofCfnProjectPropsMixin.SampleProperty.getSize()- Parameters:
size- The number of rows in the sample.- Returns:
this
-
type
Sets the value ofCfnProjectPropsMixin.SampleProperty.getType()- Parameters:
type- The way in which DataBrew obtains rows from a dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectPropsMixin.SampleProperty>- Returns:
- a new instance of
CfnProjectPropsMixin.SampleProperty - Throws:
NullPointerException- if any required attribute was not provided
-