Interface BatchRestrictions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchRestrictions.Builder,
,BatchRestrictions> SdkBuilder<BatchRestrictions.Builder,
,BatchRestrictions> SdkPojo
- Enclosing class:
BatchRestrictions
public static interface BatchRestrictions.Builder
extends SdkPojo, CopyableBuilder<BatchRestrictions.Builder,BatchRestrictions>
-
Method Summary
Modifier and TypeMethodDescriptioncomputeTypesAllowed
(String... computeTypesAllowed) An array of strings that specify the compute types that are allowed for the batch build.computeTypesAllowed
(Collection<String> computeTypesAllowed) An array of strings that specify the compute types that are allowed for the batch build.maximumBuildsAllowed
(Integer maximumBuildsAllowed) Specifies the maximum number of builds allowed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maximumBuildsAllowed
Specifies the maximum number of builds allowed.
- Parameters:
maximumBuildsAllowed
- Specifies the maximum number of builds allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeTypesAllowed
An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.
- Parameters:
computeTypesAllowed
- An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeTypesAllowed
An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.
- Parameters:
computeTypesAllowed
- An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-