Class RuntimeConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.RuntimeConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RuntimeConfig>
- Enclosing interface:
RuntimeConfig
@Stability(Stable)
public static final class RuntimeConfig.Builder
extends Object
implements software.amazon.jsii.Builder<RuntimeConfig>
A builder for
RuntimeConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRuntimeConfig.getName()runtimeVersion(String runtimeVersion) Sets the value ofRuntimeConfig.getRuntimeVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofRuntimeConfig.getName()- Parameters:
name- The name of the runtime. This parameter is required.- Returns:
this
-
runtimeVersion
Sets the value ofRuntimeConfig.getRuntimeVersion()- Parameters:
runtimeVersion- The version string of the runtime. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RuntimeConfig>- Returns:
- a new instance of
RuntimeConfig - Throws:
NullPointerException- if any required attribute was not provided
-