Class InstanceConfiguration.Builder
java.lang.Object
com.google.jenkins.plugins.computeengine.InstanceConfiguration.Builder
- Enclosing class:
- InstanceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorConfiguration
(AcceleratorConfiguration acceleratorConfiguration) bootDiskAutoDelete
(boolean bootDiskAutoDelete) bootDiskSizeGbStr
(String bootDiskSizeGbStr) bootDiskSourceImageName
(String bootDiskSourceImageName) bootDiskSourceImageProject
(String bootDiskSourceImageProject) bootDiskType
(String bootDiskType) build()
cloud
(ComputeEngineCloud cloud) createSnapshot
(boolean createSnapshot) description
(String description) externalAddress
(Boolean externalAddress) Deprecated.googleLabels
(Map<String, String> googleLabels) ignoreProxy
(boolean ignoreProxy) javaExecPath
(String javaExecPath) launchTimeoutSecondsStr
(String launchTimeoutSecondsStr) machineType
(String machineType) minCpuPlatform
(String minCpuPlatform) namePrefix
(String namePrefix) networkConfiguration
(NetworkConfiguration networkConfiguration) networkInterfaceIpStackMode
(NetworkInterfaceIpStackMode networkInterfaceIpStackMode) networkTags
(String networkTags) notbuild()
numExecutorsStr
(String numExecutorsStr) oneShot
(boolean oneShot) preemptible
(boolean preemptible) retentionTimeMinutesStr
(String retentionTimeMinutesStr) serviceAccountEmail
(String serviceAccountEmail) sshConfiguration
(SshConfiguration sshConfiguration) sshKeyCredential
(GoogleKeyCredential sshKeyCredential) startupScript
(String startupScript) toString()
useInternalAddress
(boolean useInternalAddress) windowsConfiguration
(WindowsConfiguration windowsConfiguration)
-
Method Details
-
build
-
description
- Returns:
this
.
-
namePrefix
- Returns:
this
.
-
region
- Returns:
this
.
-
zone
- Returns:
this
.
-
machineType
- Returns:
this
.
-
numExecutorsStr
- Returns:
this
.
-
startupScript
- Returns:
this
.
-
preemptible
- Returns:
this
.
-
minCpuPlatform
- Returns:
this
.
-
labels
- Returns:
this
.
-
runAsUser
- Returns:
this
.
-
bootDiskType
- Returns:
this
.
-
bootDiskAutoDelete
- Returns:
this
.
-
bootDiskSourceImageName
- Returns:
this
.
-
bootDiskSourceImageProject
- Returns:
this
.
-
networkConfiguration
public InstanceConfiguration.Builder networkConfiguration(NetworkConfiguration networkConfiguration) - Returns:
this
.
-
networkInterfaceIpStackMode
public InstanceConfiguration.Builder networkInterfaceIpStackMode(NetworkInterfaceIpStackMode networkInterfaceIpStackMode) - Returns:
this
.
-
externalAddress
Deprecated.- Returns:
this
.
-
useInternalAddress
- Returns:
this
.
-
ignoreProxy
- Returns:
this
.
-
networkTags
- Returns:
this
.
-
serviceAccountEmail
- Returns:
this
.
-
mode
- Returns:
this
.
-
acceleratorConfiguration
public InstanceConfiguration.Builder acceleratorConfiguration(AcceleratorConfiguration acceleratorConfiguration) - Returns:
this
.
-
retentionTimeMinutesStr
- Returns:
this
.
-
launchTimeoutSecondsStr
- Returns:
this
.
-
bootDiskSizeGbStr
- Returns:
this
.
-
oneShot
- Returns:
this
.
-
template
- Returns:
this
.
-
windowsConfiguration
public InstanceConfiguration.Builder windowsConfiguration(@Nullable WindowsConfiguration windowsConfiguration) - Returns:
this
.
-
sshConfiguration
- Returns:
this
.
-
createSnapshot
- Returns:
this
.
-
remoteFs
- Returns:
this
.
-
javaExecPath
- Returns:
this
.
-
sshKeyCredential
- Returns:
this
.
-
googleLabels
- Returns:
this
.
-
cloud
- Returns:
this
.
-
notbuild
-
toString
-