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