Class CfnTemplate.ColumnSchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.ColumnSchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.ColumnSchemaProperty>
- Enclosing interface:
CfnTemplate.ColumnSchemaProperty
@Stability(Stable)
public static final class CfnTemplate.ColumnSchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.ColumnSchemaProperty>
A builder for
CfnTemplate.ColumnSchemaProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.ColumnSchemaProperty.getDataType()
geographicRole
(String geographicRole) Sets the value ofCfnTemplate.ColumnSchemaProperty.getGeographicRole()
Sets the value ofCfnTemplate.ColumnSchemaProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataType
Sets the value ofCfnTemplate.ColumnSchemaProperty.getDataType()
- Parameters:
dataType
- The data type of the column schema.- Returns:
this
-
geographicRole
@Stability(Stable) public CfnTemplate.ColumnSchemaProperty.Builder geographicRole(String geographicRole) Sets the value ofCfnTemplate.ColumnSchemaProperty.getGeographicRole()
- Parameters:
geographicRole
- The geographic role of the column schema.- Returns:
this
-
name
Sets the value ofCfnTemplate.ColumnSchemaProperty.getName()
- Parameters:
name
- The name of the column schema.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.ColumnSchemaProperty>
- Returns:
- a new instance of
CfnTemplate.ColumnSchemaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-