Class CfnClassifierProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnClassifierProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClassifierProps>
- Enclosing interface:
CfnClassifierProps
@Stability(Stable)
public static final class CfnClassifierProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClassifierProps>
A builder for
CfnClassifierProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.csvClassifier
(IResolvable csvClassifier) Sets the value ofCfnClassifierProps.getCsvClassifier()
csvClassifier
(CfnClassifier.CsvClassifierProperty csvClassifier) Sets the value ofCfnClassifierProps.getCsvClassifier()
grokClassifier
(IResolvable grokClassifier) Sets the value ofCfnClassifierProps.getGrokClassifier()
grokClassifier
(CfnClassifier.GrokClassifierProperty grokClassifier) Sets the value ofCfnClassifierProps.getGrokClassifier()
jsonClassifier
(IResolvable jsonClassifier) Sets the value ofCfnClassifierProps.getJsonClassifier()
jsonClassifier
(CfnClassifier.JsonClassifierProperty jsonClassifier) Sets the value ofCfnClassifierProps.getJsonClassifier()
xmlClassifier
(IResolvable xmlClassifier) Sets the value ofCfnClassifierProps.getXmlClassifier()
xmlClassifier
(CfnClassifier.XMLClassifierProperty xmlClassifier) Sets the value ofCfnClassifierProps.getXmlClassifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csvClassifier
@Stability(Stable) public CfnClassifierProps.Builder csvClassifier(CfnClassifier.CsvClassifierProperty csvClassifier) Sets the value ofCfnClassifierProps.getCsvClassifier()
- Parameters:
csvClassifier
- A classifier for comma-separated values (CSV).- Returns:
this
-
csvClassifier
Sets the value ofCfnClassifierProps.getCsvClassifier()
- Parameters:
csvClassifier
- A classifier for comma-separated values (CSV).- Returns:
this
-
grokClassifier
Sets the value ofCfnClassifierProps.getGrokClassifier()
- Parameters:
grokClassifier
- A classifier that usesgrok
.- Returns:
this
-
grokClassifier
@Stability(Stable) public CfnClassifierProps.Builder grokClassifier(CfnClassifier.GrokClassifierProperty grokClassifier) Sets the value ofCfnClassifierProps.getGrokClassifier()
- Parameters:
grokClassifier
- A classifier that usesgrok
.- Returns:
this
-
jsonClassifier
Sets the value ofCfnClassifierProps.getJsonClassifier()
- Parameters:
jsonClassifier
- A classifier for JSON content.- Returns:
this
-
jsonClassifier
@Stability(Stable) public CfnClassifierProps.Builder jsonClassifier(CfnClassifier.JsonClassifierProperty jsonClassifier) Sets the value ofCfnClassifierProps.getJsonClassifier()
- Parameters:
jsonClassifier
- A classifier for JSON content.- Returns:
this
-
xmlClassifier
Sets the value ofCfnClassifierProps.getXmlClassifier()
- Parameters:
xmlClassifier
- A classifier for XML content.- Returns:
this
-
xmlClassifier
@Stability(Stable) public CfnClassifierProps.Builder xmlClassifier(CfnClassifier.XMLClassifierProperty xmlClassifier) Sets the value ofCfnClassifierProps.getXmlClassifier()
- Parameters:
xmlClassifier
- A classifier for XML content.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClassifierProps>
- Returns:
- a new instance of
CfnClassifierProps
- Throws:
NullPointerException
- if any required attribute was not provided
-