Class CfnResolver.AppSyncRuntimeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnResolver.AppSyncRuntimeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolver.AppSyncRuntimeProperty>
- Enclosing interface:
CfnResolver.AppSyncRuntimeProperty
@Stability(Stable)
public static final class CfnResolver.AppSyncRuntimeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolver.AppSyncRuntimeProperty>
A builder for
CfnResolver.AppSyncRuntimeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnResolver.AppSyncRuntimeProperty.getName()
runtimeVersion
(String runtimeVersion) Sets the value ofCfnResolver.AppSyncRuntimeProperty.getRuntimeVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnResolver.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 CfnResolver.AppSyncRuntimeProperty.Builder runtimeVersion(String runtimeVersion) Sets the value ofCfnResolver.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<CfnResolver.AppSyncRuntimeProperty>
- Returns:
- a new instance of
CfnResolver.AppSyncRuntimeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-