@Stability(value=Experimental) public static final class AddFieldOptions.Builder extends Object implements software.amazon.jsii.Builder<AddFieldOptions>
AddFieldOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AddFieldOptions |
build()
Builds the configured instance.
|
AddFieldOptions.Builder |
field(IField field)
Sets the value of
AddFieldOptions.getField() |
AddFieldOptions.Builder |
fieldName(String fieldName)
Sets the value of
AddFieldOptions.getFieldName() |
@Stability(value=Experimental) public AddFieldOptions.Builder field(IField field)
AddFieldOptions.getField()field - The resolvable field to add.
This option must be configured for Object, Interface,
Input and Union Types.this@Stability(value=Experimental) public AddFieldOptions.Builder fieldName(String fieldName)
AddFieldOptions.getFieldName()fieldName - The name of the field.
This option must be configured for Object, Interface,
Input and Enum Types.this@Stability(value=Experimental) public AddFieldOptions build()
build in interface software.amazon.jsii.Builder<AddFieldOptions>AddFieldOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.