Interface EphemeralAgentTemplate

All Superinterfaces:
BambooIdProvider, BambooObject, ImmutableEphemeralAgentTemplate
All Known Implementing Classes:
EphemeralAgentTemplateImpl

@PublicApi public interface EphemeralAgentTemplate extends ImmutableEphemeralAgentTemplate, BambooObject
Represents a template for ephemeral agents in Bamboo. Template is a main ephemeral agent's dependent structure, it keeps its configuration and capabilities. It serves the same purpose as Elastic image.
Since:
9.3
  • Method Details

    • setConfigurationName

      void setConfigurationName(@NotNull @NotNull String configurationName)
      Sets Ephemeral Configuration's name.
      Parameters:
      configurationName - Ephemeral Configuration's name
    • setTemplate

      void setTemplate(@NotNull @NotNull String template)
      Sets Ephemeral Configuration's template.
      Parameters:
      template - Ephemeral Configuration's template
    • setEnabled

      void setEnabled(boolean enabled)
      Sets whether the Ephemeral template should be enabled.
      Parameters:
      enabled - true if enabled, false otherwise
    • getCapabilitySet

      Returns:
      capabilities of template
    • setCapabilitySet

      void setCapabilitySet(EphemeralAgentTemplateCapabilitySet capabilitySet)
      Sets Ephemeral template related capability set.
      Parameters:
      capabilitySet - Ephemeral template related capability set