Interface Schema.Entry.Builder
-
- Enclosing interface:
- Schema.Entry
public static interface Schema.Entry.Builder
Plain builder matchingSchema.Entry
structure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schema.Entry
build()
Schema.Entry.Builder
withComment(String comment)
<T> Schema.Entry.Builder
withDefaultValue(T value)
Schema.Entry.Builder
withElementSchema(Schema schema)
Schema.Entry.Builder
withMetadata(boolean metadata)
Schema.Entry.Builder
withName(String name)
Schema.Entry.Builder
withNullable(boolean nullable)
Schema.Entry.Builder
withProp(String key, String value)
Schema.Entry.Builder
withProps(Map<String,String> props)
Schema.Entry.Builder
withRawName(String rawName)
Schema.Entry.Builder
withType(Schema.Type type)
-
-
-
Method Detail
-
withName
Schema.Entry.Builder withName(String name)
-
withRawName
Schema.Entry.Builder withRawName(String rawName)
-
withType
Schema.Entry.Builder withType(Schema.Type type)
-
withNullable
Schema.Entry.Builder withNullable(boolean nullable)
-
withMetadata
Schema.Entry.Builder withMetadata(boolean metadata)
-
withDefaultValue
<T> Schema.Entry.Builder withDefaultValue(T value)
-
withElementSchema
Schema.Entry.Builder withElementSchema(Schema schema)
-
withComment
Schema.Entry.Builder withComment(String comment)
-
withProps
Schema.Entry.Builder withProps(Map<String,String> props)
-
withProp
Schema.Entry.Builder withProp(String key, String value)
-
build
Schema.Entry build()
-
-