Interface CfnType.FieldProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnType.FieldProperty.Jsii$Proxy
- Enclosing class:
CfnType
@Stability(Stable)
public static interface CfnType.FieldProperty
extends software.amazon.jsii.JsiiSerializable
The name and data type of an individual field in a user-defined type (UDT).
In addition to a Cassandra data type, you can also use another UDT. When you nest another UDT or collection data type, you have to declare them with the FROZEN keyword.
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.cassandra.*;
FieldProperty fieldProperty = FieldProperty.builder()
.fieldName("fieldName")
.fieldType("fieldType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnType.FieldPropertystatic final classAn implementation forCfnType.FieldProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldName
The name of the field.- See Also:
-
getFieldType
The data type of the field.This can be any Cassandra data type or another user-defined type.
- See Also:
-
builder
- Returns:
- a
CfnType.FieldProperty.BuilderofCfnType.FieldProperty
-