Class CfnApplicationPropsMixin.RuntimeEnvironmentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.gameliftstreams.CfnApplicationPropsMixin.RuntimeEnvironmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.RuntimeEnvironmentProperty>
- Enclosing interface:
CfnApplicationPropsMixin.RuntimeEnvironmentProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.RuntimeEnvironmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.RuntimeEnvironmentProperty>
A builder for
CfnApplicationPropsMixin.RuntimeEnvironmentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplicationPropsMixin.RuntimeEnvironmentProperty.getType()Sets the value ofCfnApplicationPropsMixin.RuntimeEnvironmentProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnApplicationPropsMixin.RuntimeEnvironmentProperty.Builder type(String type) Sets the value ofCfnApplicationPropsMixin.RuntimeEnvironmentProperty.getType()- Parameters:
type- The operating system and other drivers. For Proton, this also includes the Proton compatibility layer.- Returns:
this
-
version
@Stability(Stable) public CfnApplicationPropsMixin.RuntimeEnvironmentProperty.Builder version(String version) Sets the value ofCfnApplicationPropsMixin.RuntimeEnvironmentProperty.getVersion()- Parameters:
version- Versioned container environment for the application operating system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.RuntimeEnvironmentProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.RuntimeEnvironmentProperty - Throws:
NullPointerException- if any required attribute was not provided
-