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 |
privateNetworking(boolean privateNetworking)
Enables a private network interface if the region supports private
networking.
|
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 build()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.