java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.GraphqlType
software.amazon.awscdk.services.appsync.Field
All Implemented Interfaces:
IField, software.amazon.jsii.JsiiSerializable
Direct Known Subclasses:
ResolvableField

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.500Z") @Stability(Experimental) public class Field extends GraphqlType implements IField
(experimental) Fields build upon Graphql Types and provide typing and arguments.

Example:

 Field field = Field.Builder.create()
         .returnType(GraphqlType.string())
         .args(Map.of(
                 "argument", GraphqlType.string()))
         .build();
 InterfaceType type = InterfaceType.Builder.create("Node")
         .definition(Map.of("test", field))
         .build();
 
  • Constructor Details

    • Field

      protected Field(software.amazon.jsii.JsiiObjectRef objRef)
    • Field

      protected Field(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Field

      @Stability(Experimental) public Field(@NotNull FieldOptions options)
      Parameters:
      options - This parameter is required.
  • Method Details