Class RuntimePlatform.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.RuntimePlatform.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RuntimePlatform>
- Enclosing interface:
RuntimePlatform
@Stability(Stable)
public static final class RuntimePlatform.Builder
extends Object
implements software.amazon.jsii.Builder<RuntimePlatform>
A builder for
RuntimePlatform-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cpuArchitecture(CpuArchitecture cpuArchitecture) Sets the value ofRuntimePlatform.getCpuArchitecture()operatingSystemFamily(OperatingSystemFamily operatingSystemFamily) Sets the value ofRuntimePlatform.getOperatingSystemFamily()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cpuArchitecture
Sets the value ofRuntimePlatform.getCpuArchitecture()- Parameters:
cpuArchitecture- The CpuArchitecture for Fargate Runtime Platform.- Returns:
this
-
operatingSystemFamily
@Stability(Stable) public RuntimePlatform.Builder operatingSystemFamily(OperatingSystemFamily operatingSystemFamily) Sets the value ofRuntimePlatform.getOperatingSystemFamily()- Parameters:
operatingSystemFamily- The operating system for Fargate Runtime Platform.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RuntimePlatform>- Returns:
- a new instance of
RuntimePlatform - Throws:
NullPointerException- if any required attribute was not provided
-