Class InterfaceType.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.InterfaceType.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InterfaceType>
- Enclosing class:
InterfaceType
@Stability(Experimental)
public static final class InterfaceType.Builder
extends Object
implements software.amazon.jsii.Builder<InterfaceType>
(experimental) A fluent builder for
InterfaceType
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static InterfaceType.Builder
definition
(Map<String, ? extends IField> definition) (experimental) the attributes of this type.directives
(List<? extends Directive> directives) (experimental) the directives for this object type.
-
Method Details
-
create
- Parameters:
name
- This parameter is required.- Returns:
- a new instance of
InterfaceType.Builder
.
-
definition
@Stability(Experimental) public InterfaceType.Builder definition(Map<String, ? extends IField> definition) (experimental) the attributes of this type.- Parameters:
definition
- the attributes of this type. This parameter is required.- Returns:
this
-
directives
@Stability(Experimental) public InterfaceType.Builder directives(List<? extends Directive> directives) (experimental) the directives for this object type.Default: - no directives
- Parameters:
directives
- the directives for this object type. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InterfaceType>
- Returns:
- a newly built instance of
InterfaceType
.
-