Interface IIntermediateType
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IIntermediateType.Jsii$Default
- All Known Implementing Classes:
EnumType
,IIntermediateType.Jsii$Proxy
,InputType
,InterfaceType
,ObjectType
,UnionType
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.518Z")
@Stability(Experimental)
public interface IIntermediateType
extends software.amazon.jsii.JsiiSerializable
(experimental) Intermediate Types are types that includes a certain set of fields that define the entirety of your schema.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIIntermediateType
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(AddFieldOptions options) (experimental) Add a field to this Intermediate Type.(experimental) Create an GraphQL Type representing this Intermediate Type.attribute
(BaseTypeOptions options) (experimental) Create an GraphQL Type representing this Intermediate Type.(experimental) the attributes of this type.(experimental) the directives for this object type.default List<InterfaceType>
(experimental) The Interface Types this Intermediate Type implements.default IIntermediateType
(experimental) the intermediate type linked to this attribute (i.e.getName()
(experimental) the name of this type.(experimental) The resolvers linked to this data source.default void
setResolvers
(List<Resolver> value) (experimental) The resolvers linked to this data source.toString()
(experimental) Generate the string of this object type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
(experimental) the attributes of this type. -
getName
(experimental) the name of this type. -
getDirectives
(experimental) the directives for this object type.Default: - no directives
-
getInterfaceTypes
(experimental) The Interface Types this Intermediate Type implements.Default: - no interface types
-
getIntermediateType
(experimental) the intermediate type linked to this attribute (i.e. an interface or an object).Default: - no intermediate type
-
getResolvers
(experimental) The resolvers linked to this data source. -
setResolvers
(experimental) The resolvers linked to this data source. -
addField
(experimental) Add a field to this Intermediate Type.- Parameters:
options
- This parameter is required.
-
attribute
(experimental) Create an GraphQL Type representing this Intermediate Type.- Parameters:
options
- the options to configure this attribute - isList - isRequired - isRequiredList.
-
attribute
(experimental) Create an GraphQL Type representing this Intermediate Type. -
toString
(experimental) Generate the string of this object type.
-