Interface ObjectTypeOptions

All Superinterfaces:
IntermediateTypeOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ObjectTypeOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.554Z") @Stability(Experimental) public interface ObjectTypeOptions extends software.amazon.jsii.JsiiSerializable, IntermediateTypeOptions
(experimental) Properties for configuring an Object Type.

Example:

 GraphqlApi api;
 MappingTemplate dummyRequest;
 MappingTemplate dummyResponse;
 ObjectType info = ObjectType.Builder.create("Info")
         .definition(Map.of(
                 "node", ResolvableField.Builder.create()
                         .returnType(GraphqlType.string())
                         .args(Map.of(
                                 "id", GraphqlType.string()))
                         .dataSource(api.addNoneDataSource("none"))
                         .requestMappingTemplate(dummyRequest)
                         .responseMappingTemplate(dummyResponse)
                         .build()))
         .build();