public static class CreateDropletOptions.Builder extends Object
Constructor and Description |
---|
CreateDropletOptions.Builder() |
Modifier and Type | Method and 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.
|
public CreateDropletOptions.Builder addSshKeyIds(Iterable<Integer> sshKeyIds)
public CreateDropletOptions.Builder addSshKeyId(int sshKeyId)
public CreateDropletOptions.Builder privateNetworking(boolean privateNetworking)
public CreateDropletOptions.Builder backupsEnabled(boolean backupsEnabled)
public CreateDropletOptions.Builder userData(String userData)
public CreateDropletOptions.Builder ipv6Enabled(boolean ipv6Enabled)
public CreateDropletOptions build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.