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 Details

    • create

      @Stability(Experimental) public static EnumType.Builder create(String name)
      Parameters:
      name - This parameter is required.
      Returns:
      a new instance of EnumType.Builder.
    • definition

      @Stability(Experimental) public EnumType.Builder definition(List<String> definition)
      (experimental) the attributes of this type.

      Parameters:
      definition - the attributes of this type. This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public EnumType build()
      Specified by:
      build in interface software.amazon.jsii.Builder<EnumType>
      Returns:
      a newly built instance of EnumType.