Class DataFormatProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.DataFormatProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataFormatProps>
- Enclosing interface:
DataFormatProps
@Stability(Experimental)
public static final class DataFormatProps.Builder
extends Object
implements software.amazon.jsii.Builder<DataFormatProps>
A builder for
DataFormatProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.classificationString
(ClassificationString classificationString) Sets the value ofDataFormatProps.getClassificationString()
inputFormat
(InputFormat inputFormat) Sets the value ofDataFormatProps.getInputFormat()
outputFormat
(OutputFormat outputFormat) Sets the value ofDataFormatProps.getOutputFormat()
serializationLibrary
(SerializationLibrary serializationLibrary) Sets the value ofDataFormatProps.getSerializationLibrary()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputFormat
Sets the value ofDataFormatProps.getInputFormat()
- Parameters:
inputFormat
-InputFormat
for this data format. This parameter is required.- Returns:
this
-
outputFormat
Sets the value ofDataFormatProps.getOutputFormat()
- Parameters:
outputFormat
-OutputFormat
for this data format. This parameter is required.- Returns:
this
-
serializationLibrary
@Stability(Experimental) public DataFormatProps.Builder serializationLibrary(SerializationLibrary serializationLibrary) Sets the value ofDataFormatProps.getSerializationLibrary()
- Parameters:
serializationLibrary
- Serialization library for this data format. This parameter is required.- Returns:
this
-
classificationString
@Stability(Experimental) public DataFormatProps.Builder classificationString(ClassificationString classificationString) Sets the value ofDataFormatProps.getClassificationString()
- Parameters:
classificationString
- Classification string given to tables with this data format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DataFormatProps>
- Returns:
- a new instance of
DataFormatProps
- Throws:
NullPointerException
- if any required attribute was not provided
-