Class RestElasticInstanceManagement
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.admin.elasticconfiguration.RestElasticInstanceManagement
-
public class RestElasticInstanceManagement extends Object
Model for instance management- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description RestElasticInstanceManagement()
RestElasticInstanceManagement(String type, Integer idleAgentShutdownDelayMinutes, Integer allowedNonBambooInstances, Integer maxNumOfInstancesStart, Integer numOfBuildsInQueue, Integer numOfElasticBuildsInQueue, Integer avgQueueTimeMinutes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getAllowedNonBambooInstances()
Integer
getAvgQueueTimeMinutes()
Integer
getIdleAgentShutdownDelayMinutes()
Integer
getMaxNumOfInstancesStart()
Integer
getNumOfBuildsInQueue()
Integer
getNumOfElasticBuildsInQueue()
String
getType()
void
setAllowedNonBambooInstances(Integer allowedNonBambooInstances)
void
setAvgQueueTimeMinutes(Integer avgQueueTimeMinutesSec)
void
setIdleAgentShutdownDelayMinutes(Integer idleAgentShutdownDelayMinutes)
void
setMaxNumOfInstancesStart(Integer maxNumOfInstancesStart)
void
setNumOfBuildsInQueue(Integer numOfBuildsInQueue)
void
setNumOfElasticBuildsInQueue(Integer numOfElasticBuildsInQueue)
void
setType(String type)
-
-
-
Constructor Detail
-
RestElasticInstanceManagement
public RestElasticInstanceManagement(String type, Integer idleAgentShutdownDelayMinutes, Integer allowedNonBambooInstances, Integer maxNumOfInstancesStart, Integer numOfBuildsInQueue, Integer numOfElasticBuildsInQueue, Integer avgQueueTimeMinutes)
-
RestElasticInstanceManagement
public RestElasticInstanceManagement()
-
-
Method Detail
-
getIdleAgentShutdownDelayMinutes
public Integer getIdleAgentShutdownDelayMinutes()
-
setIdleAgentShutdownDelayMinutes
public void setIdleAgentShutdownDelayMinutes(Integer idleAgentShutdownDelayMinutes)
-
getAllowedNonBambooInstances
public Integer getAllowedNonBambooInstances()
-
setAllowedNonBambooInstances
public void setAllowedNonBambooInstances(Integer allowedNonBambooInstances)
-
getMaxNumOfInstancesStart
public Integer getMaxNumOfInstancesStart()
-
setMaxNumOfInstancesStart
public void setMaxNumOfInstancesStart(Integer maxNumOfInstancesStart)
-
getNumOfBuildsInQueue
public Integer getNumOfBuildsInQueue()
-
setNumOfBuildsInQueue
public void setNumOfBuildsInQueue(Integer numOfBuildsInQueue)
-
getNumOfElasticBuildsInQueue
public Integer getNumOfElasticBuildsInQueue()
-
setNumOfElasticBuildsInQueue
public void setNumOfElasticBuildsInQueue(Integer numOfElasticBuildsInQueue)
-
getAvgQueueTimeMinutes
public Integer getAvgQueueTimeMinutes()
-
setAvgQueueTimeMinutes
public void setAvgQueueTimeMinutes(Integer avgQueueTimeMinutesSec)
-
getType
public String getType()
-
setType
public void setType(String type)
-
-