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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAddFieldOptionsstatic final classAn implementation forAddFieldOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic AddFieldOptions.Builderbuilder()default IFieldgetField()(experimental) The resolvable field to add.default String(experimental) The name of the field.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getField
(experimental) The resolvable field to add.This option must be configured for Object, Interface, Input and Union Types.
Default: - no IField
-
getFieldName
(experimental) The name of the field.This option must be configured for Object, Interface, Input and Enum Types.
Default: - no fieldName
-
builder
- Returns:
- a
AddFieldOptions.BuilderofAddFieldOptions
-