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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchRestrictions.BuildercomputeTypesAllowed(String... computeTypesAllowed)An array of strings that specify the compute types that are allowed for the batch build.BatchRestrictions.BuildercomputeTypesAllowed(Collection<String> computeTypesAllowed)An array of strings that specify the compute types that are allowed for the batch build.BatchRestrictions.BuildermaximumBuildsAllowed(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 Detail
-
maximumBuildsAllowed
BatchRestrictions.Builder maximumBuildsAllowed(Integer 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
BatchRestrictions.Builder computeTypesAllowed(Collection<String> 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
BatchRestrictions.Builder computeTypesAllowed(String... 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.
-
-