Class ComputeEngineInstance.ComputeEngineInstanceBuilder
java.lang.Object
com.google.jenkins.plugins.computeengine.ComputeEngineInstance.ComputeEngineInstanceBuilder
- Enclosing class:
- ComputeEngineInstance
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
cloud
(ComputeEngineCloud cloud) createSnapshot
(boolean createSnapshot) ignoreProxy
(boolean ignoreProxy) javaExecPath
(String javaExecPath) labelString
(String labelString) launcher
(ComputerLauncher launcher) launchTimeout
(Integer launchTimeout) nodeDescription
(String nodeDescription) numExecutors
(int numExecutors) oneShot
(boolean oneShot) retentionStrategy
(RetentionStrategy retentionStrategy) sshConfig
(SshConfiguration sshConfig) sshKeyCredential
(GoogleKeyCredential sshKeyCredential) toString()
windowsConfig
(WindowsConfiguration windowsConfig)
-
Method Details
-
cloudName
- Returns:
this
.
-
name
- Returns:
this
.
-
zone
- Returns:
this
.
-
nodeDescription
- Returns:
this
.
-
sshUser
- Returns:
this
.
-
remoteFS
- Returns:
this
.
-
windowsConfig
public ComputeEngineInstance.ComputeEngineInstanceBuilder windowsConfig(@Nullable WindowsConfiguration windowsConfig) - Returns:
this
.
-
sshConfig
public ComputeEngineInstance.ComputeEngineInstanceBuilder sshConfig(@Nullable SshConfiguration sshConfig) - Returns:
this
.
-
createSnapshot
- Returns:
this
.
-
oneShot
- Returns:
this
.
-
ignoreProxy
- Returns:
this
.
-
numExecutors
- Returns:
this
.
-
mode
- Returns:
this
.
-
labelString
- Returns:
this
.
-
launcher
- Returns:
this
.
-
retentionStrategy
public ComputeEngineInstance.ComputeEngineInstanceBuilder retentionStrategy(RetentionStrategy retentionStrategy) - Returns:
this
.
-
launchTimeout
- Returns:
this
.
-
javaExecPath
public ComputeEngineInstance.ComputeEngineInstanceBuilder javaExecPath(@Nullable String javaExecPath) - Returns:
this
.
-
sshKeyCredential
public ComputeEngineInstance.ComputeEngineInstanceBuilder sshKeyCredential(@Nullable GoogleKeyCredential sshKeyCredential) - Returns:
this
.
-
cloud
- Returns:
this
.
-
build
- Throws:
Descriptor.FormException
IOException
-
toString
-