@Stability(value=Experimental) public static final class ObjectTypeOptions.Builder extends Object implements software.amazon.jsii.Builder<ObjectTypeOptions>
ObjectTypeOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ObjectTypeOptions |
build()
Builds the configured instance.
|
ObjectTypeOptions.Builder |
definition(Map<String,? extends IField> definition)
Sets the value of
IntermediateTypeOptions.getDefinition() |
ObjectTypeOptions.Builder |
directives(List<? extends Directive> directives)
Sets the value of
IntermediateTypeOptions.getDirectives() |
ObjectTypeOptions.Builder |
interfaceTypes(List<? extends InterfaceType> interfaceTypes)
Sets the value of
ObjectTypeOptions.getInterfaceTypes() |
@Stability(value=Experimental) public ObjectTypeOptions.Builder interfaceTypes(List<? extends InterfaceType> interfaceTypes)
ObjectTypeOptions.getInterfaceTypes()interfaceTypes - The Interface Types this Object Type implements.this@Stability(value=Experimental) public ObjectTypeOptions.Builder definition(Map<String,? extends IField> definition)
IntermediateTypeOptions.getDefinition()definition - the attributes of this type. This parameter is required.this@Stability(value=Experimental) public ObjectTypeOptions.Builder directives(List<? extends Directive> directives)
IntermediateTypeOptions.getDirectives()directives - the directives for this object type.this@Stability(value=Experimental) public ObjectTypeOptions build()
build in interface software.amazon.jsii.Builder<ObjectTypeOptions>ObjectTypeOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.