public class TupleTypeBuilder<P extends TypeBuilder> extends AbstractBuilder<TupleType> implements TypeBuilder<TupleType>, WithAnnotation<TupleTypeBuilder>
annotations, format| Modifier | Constructor and Description |
|---|---|
protected |
TupleTypeBuilder(MetadataFormat format) |
| Modifier and Type | Method and Description |
|---|---|
TupleType |
build() |
TupleTypeBuilder<P> |
description(String content) |
TupleTypeBuilder<P> |
description(String lang,
String content) |
TupleTypeBuilder<P> |
id(String typeIdentifier) |
TupleTypeBuilder<P> |
label(String label) |
BaseTypeBuilder<TupleTypeBuilder<P>> |
of() |
TupleTypeBuilder<P> |
of(TypeBuilder<?> typeBuilder) |
TupleTypeBuilder<P> |
with(TypeAnnotation extension)
Contributes a builder with
TypeAnnotations |
addExtensionprotected TupleTypeBuilder(MetadataFormat format)
public BaseTypeBuilder<TupleTypeBuilder<P>> of()
public TupleTypeBuilder<P> id(String typeIdentifier)
public TupleTypeBuilder<P> of(TypeBuilder<?> typeBuilder)
public TupleTypeBuilder<P> description(String lang, String content)
public TupleTypeBuilder<P> description(String content)
public TupleTypeBuilder<P> label(String label)
public TupleTypeBuilder<P> with(TypeAnnotation extension)
WithAnnotationTypeAnnotationswith in interface WithAnnotation<TupleTypeBuilder>extension - TypeAnnotation to addpublic TupleType build()
build in interface TypeBuilder<TupleType>Copyright © 2016 MuleSoft, Inc.. All rights reserved.