Interface CfnDataset.SchemaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataset.SchemaProperty.Jsii$Proxy
- Enclosing class:
CfnDataset
@Stability(Stable)
public static interface CfnDataset.SchemaProperty
extends software.amazon.jsii.JsiiSerializable
The schema of the dataset.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.scn.*;
SchemaProperty schemaProperty = SchemaProperty.builder()
.fields(List.of(DataLakeDatasetSchemaFieldProperty.builder()
.isRequired(false)
.name("name")
.type("type")
.build()))
.name("name")
// the properties below are optional
.primaryKeys(List.of(DataLakeDatasetPrimaryKeyFieldProperty.builder()
.name("name")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataset.SchemaPropertystatic final classAn implementation forCfnDataset.SchemaProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFields
The list of field details of the dataset schema.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataset.DataLakeDatasetSchemaFieldProperty>- See Also:
-
getName
The name of the dataset schema.- See Also:
-
getPrimaryKeys
The list of primary key fields for the dataset.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataset.DataLakeDatasetPrimaryKeyFieldProperty>- See Also:
-
builder
- Returns:
- a
CfnDataset.SchemaProperty.BuilderofCfnDataset.SchemaProperty
-