public class DigitalOcean2TemplateOptions extends TemplateOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
DigitalOcean2TemplateOptions.Builder |
TemplateOptions.ImmutableTemplateOptions
RunScriptOptions.ImmutableRunScriptOptions
blockUntilRunning, inboundPorts, networks, nodeNames, NONE, privateKey, publicKey, script, securityGroups, tags, userMetadata
authenticateSudo, blockOnComplete, loginPassword, loginPrivateKey, loginUser, port, runAsRoot, seconds, taskName, wrapInInitScript
Constructor and Description |
---|
DigitalOcean2TemplateOptions() |
Modifier and Type | Method and Description |
---|---|
DigitalOcean2TemplateOptions |
autoCreateKeyPair(boolean autoCreateKeyPair)
Sets whether an SSH key pair should be created automatically.
|
DigitalOcean2TemplateOptions |
backupsEnabled(boolean backupsEnabled)
Enabled backups for the droplet.
|
DigitalOcean2TemplateOptions |
clone() |
void |
copyTo(TemplateOptions to) |
boolean |
equals(Object obj) |
boolean |
getAutoCreateKeyPair() |
boolean |
getBackupsEnabled() |
boolean |
getPrivateNetworking() |
Set<Integer> |
getSshKeyIds() |
int |
hashCode() |
DigitalOcean2TemplateOptions |
privateNetworking(boolean privateNetworking)
Enables a private network interface if the region supports private networking.
|
DigitalOcean2TemplateOptions |
sshKeyIds(Iterable<Integer> sshKeyIds)
Sets the ssh key ids to be added to the droplet.
|
com.google.common.base.Objects.ToStringHelper |
string() |
as, authorizePublicKey, blockOnComplete, blockOnPort, blockUntilRunning, dontAuthorizePublicKey, getGroups, getInboundPorts, getNetworks, getNodeNames, getPrivateKey, getPublicKey, getRunScript, getTags, getUserMetadata, inboundPorts, installPrivateKey, nameTask, networks, networks, nodeNames, overrideAuthenticateSudo, overrideLoginCredentials, overrideLoginPassword, overrideLoginPrivateKey, overrideLoginUser, runAsRoot, runScript, runScript, securityGroups, securityGroups, shouldBlockUntilRunning, tags, userMetadata, userMetadata, wrapInInitScript
copyTo, getLoginPassword, getLoginPrivateKey, getLoginUser, getPort, getSeconds, getTaskName, hasLoginPassword, hasLoginPasswordOption, hasLoginPrivateKey, hasLoginPrivateKeyOption, overrideLoginPassword, overrideLoginPrivateKey, shouldAuthenticateSudo, shouldBlockOnComplete, shouldRunAsRoot, shouldWrapInInitScript, toString
public DigitalOcean2TemplateOptions privateNetworking(boolean privateNetworking)
public DigitalOcean2TemplateOptions backupsEnabled(boolean backupsEnabled)
public DigitalOcean2TemplateOptions sshKeyIds(Iterable<Integer> sshKeyIds)
public DigitalOcean2TemplateOptions autoCreateKeyPair(boolean autoCreateKeyPair)
public boolean getPrivateNetworking()
public boolean getBackupsEnabled()
public boolean getAutoCreateKeyPair()
public DigitalOcean2TemplateOptions clone()
clone
in class TemplateOptions
public void copyTo(TemplateOptions to)
copyTo
in class TemplateOptions
public int hashCode()
hashCode
in class TemplateOptions
public boolean equals(Object obj)
equals
in class TemplateOptions
public com.google.common.base.Objects.ToStringHelper string()
string
in class TemplateOptions
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.