Package io.jenkins.plugins.yc.util
Class YCAgentConfig.OnDemandBuilder
- java.lang.Object
-
- io.jenkins.plugins.yc.util.YCAgentConfig.OnDemandBuilder
-
- Enclosing class:
- YCAgentConfig
public static class YCAgentConfig.OnDemandBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description OnDemandBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YCAgentConfig.OnDemand
build()
String
getInstanceId()
boolean
isStopOnTerminate()
protected YCAgentConfig.OnDemandBuilder
self()
YCAgentConfig.OnDemandBuilder
withInstanceId(String instanceId)
YCAgentConfig.OnDemandBuilder
withStopOnTerminate(boolean stopOnTerminate)
-
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
-
withInstanceId
public YCAgentConfig.OnDemandBuilder withInstanceId(String instanceId)
-
withStopOnTerminate
public YCAgentConfig.OnDemandBuilder withStopOnTerminate(boolean stopOnTerminate)
-
isStopOnTerminate
public boolean isStopOnTerminate()
-
self
protected YCAgentConfig.OnDemandBuilder self()
-
build
public YCAgentConfig.OnDemand build()
-
-