public class ArrayTypeBuilder extends AbstractBuilder<ArrayType> implements TypeBuilder<ArrayType>, WithAnnotation<ArrayTypeBuilder>
annotations, format| Modifier | Constructor and Description |
|---|---|
protected |
ArrayTypeBuilder(MetadataFormat format) |
| Modifier and Type | Method and Description |
|---|---|
ArrayTypeBuilder |
boundary(Number minLength,
Number maxLength) |
ArrayType |
build() |
ArrayTypeBuilder |
description(String content) |
ArrayTypeBuilder |
description(String lang,
String content) |
ArrayTypeBuilder |
id(String typeIdentifier) |
ArrayTypeBuilder |
label(String label) |
BaseTypeBuilder |
of() |
ArrayTypeBuilder |
of(MetadataType typeValue) |
ArrayTypeBuilder |
of(TypeBuilder<?> builder) |
ArrayTypeBuilder |
uniques() |
ArrayTypeBuilder |
with(TypeAnnotation extension)
Contributes a builder with
TypeAnnotations |
addExtensionprotected ArrayTypeBuilder(MetadataFormat format)
public BaseTypeBuilder of()
public ArrayTypeBuilder id(String typeIdentifier)
public ArrayTypeBuilder of(TypeBuilder<?> builder)
public ArrayTypeBuilder of(MetadataType typeValue)
public ArrayTypeBuilder with(TypeAnnotation extension)
WithAnnotationTypeAnnotationswith in interface WithAnnotation<ArrayTypeBuilder>extension - TypeAnnotation to addpublic ArrayTypeBuilder boundary(Number minLength, Number maxLength)
public ArrayTypeBuilder description(String lang, String content)
public ArrayTypeBuilder description(String content)
public ArrayTypeBuilder uniques()
public ArrayTypeBuilder label(String label)
public ArrayType build()
build in interface TypeBuilder<ArrayType>Copyright © 2018 MuleSoft, Inc.. All rights reserved.