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