@Stability(value=Experimental) public static final class FieldOptions.Builder extends Object implements software.amazon.jsii.Builder<FieldOptions>
FieldOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FieldOptions.Builder |
args(Map<String,? extends GraphqlType> args)
Sets the value of
FieldOptions.getArgs() |
FieldOptions |
build()
Builds the configured instance.
|
FieldOptions.Builder |
directives(List<? extends Directive> directives)
Sets the value of
FieldOptions.getDirectives() |
FieldOptions.Builder |
returnType(GraphqlType returnType)
Sets the value of
FieldOptions.getReturnType() |
@Stability(value=Experimental) public FieldOptions.Builder returnType(GraphqlType returnType)
FieldOptions.getReturnType()returnType - The return type for this field. This parameter is required.this@Stability(value=Experimental) public FieldOptions.Builder args(Map<String,? extends GraphqlType> args)
FieldOptions.getArgs()args - The arguments for this field.
i.e. type Example (first: String second: String) {}
this@Stability(value=Experimental) public FieldOptions.Builder directives(List<? extends Directive> directives)
FieldOptions.getDirectives()directives - the directives for this field.this@Stability(value=Experimental) public FieldOptions build()
build in interface software.amazon.jsii.Builder<FieldOptions>FieldOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.