Class CfnJobDefinition.FargatePlatformConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnJobDefinition.FargatePlatformConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinition.FargatePlatformConfigurationProperty>
- Enclosing interface:
CfnJobDefinition.FargatePlatformConfigurationProperty
@Stability(Stable)
public static final class CfnJobDefinition.FargatePlatformConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinition.FargatePlatformConfigurationProperty>
A builder for
CfnJobDefinition.FargatePlatformConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.platformVersion
(String platformVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
platformVersion
@Stability(Stable) public CfnJobDefinition.FargatePlatformConfigurationProperty.Builder platformVersion(String platformVersion) - Parameters:
platformVersion
- The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, theLATEST
platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see AWS Fargate platform versions in the Amazon Elastic Container Service Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobDefinition.FargatePlatformConfigurationProperty>
- Returns:
- a new instance of
CfnJobDefinition.FargatePlatformConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-