Class UnionType.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.UnionType.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UnionType>
- Enclosing class:
UnionType
@Stability(Experimental)
public static final class UnionType.Builder
extends Object
implements software.amazon.jsii.Builder<UnionType>
(experimental) A fluent builder for
UnionType
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static UnionType.Builder
definition
(List<? extends IIntermediateType> definition) (experimental) the object types for this union type.
-
Method Details
-
create
- Parameters:
name
- This parameter is required.- Returns:
- a new instance of
UnionType.Builder
.
-
definition
@Stability(Experimental) public UnionType.Builder definition(List<? extends IIntermediateType> definition) (experimental) the object types for this union type.- Parameters:
definition
- the object types for this union type. This parameter is required.- Returns:
this
-
build
-