Class CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty>
- Enclosing interface:
CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty
@Stability(Stable)
public static final class CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty.getName()runtimeVersion(String runtimeVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty.Builder name(String name) Sets the value ofCfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty.getName()- Parameters:
name- Thenameof the runtime to use. Currently, the only allowed value isAPPSYNC_JS.- Returns:
this
-
runtimeVersion
@Stability(Stable) public CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty.Builder runtimeVersion(String runtimeVersion) - Parameters:
runtimeVersion- Theversionof the runtime to use. Currently, the only allowed version is1.0.0.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty>- Returns:
- a new instance of
CfnFunctionConfigurationPropsMixin.AppSyncRuntimeProperty - Throws:
NullPointerException- if any required attribute was not provided
-