Class ProjectCache


  • public final class ProjectCache
    extends java.lang.Object
    • Method Detail

      • cacheNamespace

        public java.util.Optional<java.lang.String> cacheNamespace()
        Returns:
        Namespace that determines the scope in which a cache is shared across multiple projects.
      • location

        public java.util.Optional<java.lang.String> location()
        Returns:
        Location where the AWS CodeBuild project stores cached resources. For type `S3`, the value must be a valid S3 bucket name/prefix.
      • modes

        public java.util.List<java.lang.String> modes()
        Returns:
        Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: `LOCAL_SOURCE_CACHE`, `LOCAL_DOCKER_LAYER_CACHE`, `LOCAL_CUSTOM_CACHE`.
      • type

        public java.util.Optional<java.lang.String> type()
        Returns:
        Type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`, `LOCAL`, `S3`. Defaults to `NO_CACHE`.