@Stability(value=Experimental) public static final class InterfaceType.Builder extends Object implements software.amazon.jsii.Builder<InterfaceType>
InterfaceType.| Modifier and Type | Method and Description |
|---|---|
InterfaceType |
build() |
static InterfaceType.Builder |
create(String name) |
InterfaceType.Builder |
definition(Map<String,? extends IField> definition)
(experimental) the attributes of this type.
|
InterfaceType.Builder |
directives(List<? extends Directive> directives)
(experimental) the directives for this object type.
|
@Stability(value=Experimental) public static InterfaceType.Builder create(String name)
name - This parameter is required.InterfaceType.Builder.@Stability(value=Experimental) public InterfaceType.Builder definition(Map<String,? extends IField> definition)
definition - the attributes of this type. This parameter is required.this@Stability(value=Experimental) public InterfaceType.Builder directives(List<? extends Directive> directives)
Default: - no directives
directives - the directives for this object type. This parameter is required.this@Stability(value=Experimental) public InterfaceType build()
build in interface software.amazon.jsii.Builder<InterfaceType>Copyright © 2022. All rights reserved.