Class CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty>
- Enclosing interface:
CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty
@Stability(Stable)
public static final class CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.platformVersion(String platformVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
platformVersion
@Stability(Stable) public CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty.Builder platformVersion(String platformVersion) Sets the value ofCfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty.getPlatformVersion()- 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, theLATESTplatform 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty>- Returns:
- a new instance of
CfnJobDefinitionPropsMixin.FargatePlatformConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-