Class TaskTemplateMap

    • Constructor Detail

      • TaskTemplateMap

        public TaskTemplateMap()
    • Method Detail

      • getTemplates

        @Nonnull
        public List<ECSTaskTemplate> getTemplates​(@Nonnull
                                                  ECSCloud cloud)
        Returns a read-only view of the templates available for the corresponding cloud instance.
        Parameters:
        cloud - The ECS cloud instance for which templates are needed
        Returns:
        a read-only view of the templates available for the corresponding cloud instance.
      • addTemplate

        public void addTemplate​(@Nonnull
                                ECSCloud cloud,
                                @Nonnull
                                ECSTaskTemplate TaskTemplate)
        Adds a template for the corresponding cloud instance.
        Parameters:
        cloud - The cloud instance.
        TaskTemplate - The pod template to add.