Class CfnDataSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.dataexchange.CfnDataSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSetProps>
- Enclosing interface:
CfnDataSetProps
@Stability(Stable)
public static final class CfnDataSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSetProps>
A builder for
CfnDataSetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSetProps.getAssetType()build()Builds the configured instance.description(String description) Sets the value ofCfnDataSetProps.getDescription()Sets the value ofCfnDataSetProps.getName()Sets the value ofCfnDataSetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetType
Sets the value ofCfnDataSetProps.getAssetType()- Parameters:
assetType- The type of asset that is added to a data set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDataSetProps.getDescription()- Parameters:
description- A description for the data set. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDataSetProps.getName()- Parameters:
name- The name of the data set. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnDataSetProps.getTags()- Parameters:
tags- Tags for the data set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSetProps>- Returns:
- a new instance of
CfnDataSetProps - Throws:
NullPointerException- if any required attribute was not provided
-