Interface BatchRestrictions.Builder

    • 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.