Interface AddFieldOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AddFieldOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.349Z") @Stability(Experimental) public interface AddFieldOptions extends software.amazon.jsii.JsiiSerializable
(experimental) The options to add a field to an Intermediate Type.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appsync.*;
 Field field;
 AddFieldOptions addFieldOptions = AddFieldOptions.builder()
         .field(field)
         .fieldName("fieldName")
         .build();
 
  • Method Details

    • getField

      @Stability(Experimental) @Nullable default IField getField()
      (experimental) The resolvable field to add.

      This option must be configured for Object, Interface, Input and Union Types.

      Default: - no IField

    • getFieldName

      @Stability(Experimental) @Nullable default String getFieldName()
      (experimental) The name of the field.

      This option must be configured for Object, Interface, Input and Enum Types.

      Default: - no fieldName

    • builder

      @Stability(Experimental) static AddFieldOptions.Builder builder()
      Returns:
      a AddFieldOptions.Builder of AddFieldOptions