Interface EnumTypeOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnumTypeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.495Z")
@Stability(Experimental)
public interface EnumTypeOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for configuring an Enum Type.
Example:
GraphqlApi api; EnumType episode = EnumType.Builder.create("Episode") .definition(List.of("NEWHOPE", "EMPIRE", "JEDI")) .build(); api.addType(episode);
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEnumTypeOptions
static final class
An implementation forEnumTypeOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnumTypeOptions.Builder
builder()
(experimental) the attributes of this type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
(experimental) the attributes of this type. -
builder
- Returns:
- a
EnumTypeOptions.Builder
ofEnumTypeOptions
-