Class IntermediateTypeOptions.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.IntermediateTypeOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntermediateTypeOptions>
- Enclosing interface:
IntermediateTypeOptions
@Stability(Experimental)
public static final class IntermediateTypeOptions.Builder
extends Object
implements software.amazon.jsii.Builder<IntermediateTypeOptions>
A builder for
IntermediateTypeOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.definition
(Map<String, ? extends IField> definition) Sets the value ofIntermediateTypeOptions.getDefinition()
directives
(List<? extends Directive> directives) Sets the value ofIntermediateTypeOptions.getDirectives()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
@Stability(Experimental) public IntermediateTypeOptions.Builder definition(Map<String, ? extends IField> definition) Sets the value ofIntermediateTypeOptions.getDefinition()
- Parameters:
definition
- the attributes of this type. This parameter is required.- Returns:
this
-
directives
@Stability(Experimental) public IntermediateTypeOptions.Builder directives(List<? extends Directive> directives) Sets the value ofIntermediateTypeOptions.getDirectives()
- Parameters:
directives
- the directives for this object type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IntermediateTypeOptions>
- Returns:
- a new instance of
IntermediateTypeOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-