public class BinaryTypeBuilder extends AbstractBuilder<BinaryType> implements TypeBuilder<BinaryType>, WithAnnotation<BinaryTypeBuilder>
annotations, format
Modifier | Constructor and Description |
---|---|
protected |
BinaryTypeBuilder(MetadataFormat format) |
Modifier and Type | Method and Description |
---|---|
BinaryType |
build() |
BinaryTypeBuilder |
id(String typeIdentifier) |
BinaryTypeBuilder |
with(TypeAnnotation extension)
Contributes a builder with
TypeAnnotation s |
addExtension
protected BinaryTypeBuilder(MetadataFormat format)
public BinaryTypeBuilder with(TypeAnnotation extension)
WithAnnotation
TypeAnnotation
swith
in interface WithAnnotation<BinaryTypeBuilder>
extension
- TypeAnnotation
to addpublic BinaryTypeBuilder id(String typeIdentifier)
public BinaryType build()
build
in interface TypeBuilder<BinaryType>
Copyright © 2018. All rights reserved.