Class CfnApp.JobConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.CfnApp.JobConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApp.JobConfigProperty>
- Enclosing interface:
CfnApp.JobConfigProperty
@Stability(Stable)
public static final class CfnApp.JobConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApp.JobConfigProperty>
A builder for
CfnApp.JobConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.buildComputeType(String buildComputeType) Sets the value ofCfnApp.JobConfigProperty.getBuildComputeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buildComputeType
@Stability(Stable) public CfnApp.JobConfigProperty.Builder buildComputeType(String buildComputeType) Sets the value ofCfnApp.JobConfigProperty.getBuildComputeType()- Parameters:
buildComputeType- Specifies the size of the build instance. This parameter is required. Amplify supports three instance sizes:STANDARD_8GB,LARGE_16GB, andXLARGE_72GB. If you don't specify a value, Amplify uses theSTANDARD_8GBdefault.The following list describes the CPU, memory, and storage capacity for each build instance type:
- STANDARD_8GB - - vCPUs: 4
- Memory: 8 GiB
- Disk space: 128 GB
- LARGE_16GB - - vCPUs: 8
- Memory: 16 GiB
- Disk space: 128 GB
- XLARGE_72GB - - vCPUs: 36
- Memory: 72 GiB
- Disk space: 256 GB
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApp.JobConfigProperty>- Returns:
- a new instance of
CfnApp.JobConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-