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