@Stability(value=Stable) public static final class CfnProject.BatchRestrictionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnProject.BatchRestrictionsProperty>
CfnProject.BatchRestrictionsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnProject.BatchRestrictionsProperty |
build()
Builds the configured instance.
|
CfnProject.BatchRestrictionsProperty.Builder |
computeTypesAllowed(List<String> computeTypesAllowed)
Sets the value of
CfnProject.BatchRestrictionsProperty.getComputeTypesAllowed() |
CfnProject.BatchRestrictionsProperty.Builder |
maximumBuildsAllowed(Number maximumBuildsAllowed)
Sets the value of
CfnProject.BatchRestrictionsProperty.getMaximumBuildsAllowed() |
@Stability(value=Stable) public CfnProject.BatchRestrictionsProperty.Builder computeTypesAllowed(List<String> computeTypesAllowed)
CfnProject.BatchRestrictionsProperty.getComputeTypesAllowed()computeTypesAllowed - An array of strings that specify the compute types that are allowed for the batch build.
See Build environment compute types in the AWS CodeBuild User Guide for these values.this@Stability(value=Stable) public CfnProject.BatchRestrictionsProperty.Builder maximumBuildsAllowed(Number maximumBuildsAllowed)
CfnProject.BatchRestrictionsProperty.getMaximumBuildsAllowed()maximumBuildsAllowed - Specifies the maximum number of builds allowed.this@Stability(value=Stable) public CfnProject.BatchRestrictionsProperty build()
build in interface software.amazon.jsii.Builder<CfnProject.BatchRestrictionsProperty>CfnProject.BatchRestrictionsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.