Class CreateDropletOptions.Builder
- java.lang.Object
-
- org.jclouds.digitalocean2.domain.options.CreateDropletOptions.Builder
-
- Enclosing class:
- CreateDropletOptions
public static class CreateDropletOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDropletOptions.Builder
addSshKeyId(int sshKeyId)
Adds an ssh key id to be added to the droplet.CreateDropletOptions.Builder
addSshKeyIds(Iterable<Integer> sshKeyIds)
Adds a set of ssh key ids to be added to the droplet.CreateDropletOptions.Builder
backupsEnabled(boolean backupsEnabled)
Enabled backups for the droplet.CreateDropletOptions
build()
CreateDropletOptions.Builder
ipv6Enabled(boolean ipv6Enabled)
Enables/disables IPv6 for the droplet.CreateDropletOptions.Builder
privateNetworking(boolean privateNetworking)
Enables a private network interface if the region supports private networking.CreateDropletOptions.Builder
userData(String userData)
Sets the user data for the droplet.
-
-
-
Method Detail
-
addSshKeyIds
public CreateDropletOptions.Builder addSshKeyIds(Iterable<Integer> sshKeyIds)
Adds a set of ssh key ids to be added to the droplet.
-
addSshKeyId
public CreateDropletOptions.Builder addSshKeyId(int sshKeyId)
Adds an ssh key id to be added to the droplet.
-
privateNetworking
public CreateDropletOptions.Builder privateNetworking(boolean privateNetworking)
Enables a private network interface if the region supports private networking.
-
backupsEnabled
public CreateDropletOptions.Builder backupsEnabled(boolean backupsEnabled)
Enabled backups for the droplet.
-
userData
public CreateDropletOptions.Builder userData(String userData)
Sets the user data for the droplet.
-
ipv6Enabled
public CreateDropletOptions.Builder ipv6Enabled(boolean ipv6Enabled)
Enables/disables IPv6 for the droplet.
-
build
public CreateDropletOptions build()
-
-