org.jclouds.digitalocean.domain.options
Class CreateDropletOptions.Builder

java.lang.Object
  extended by org.jclouds.digitalocean.domain.options.CreateDropletOptions.Builder
Enclosing class:
CreateDropletOptions

public static class CreateDropletOptions.Builder
extends Object


Constructor Summary
CreateDropletOptions.Builder()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDropletOptions.Builder

public CreateDropletOptions.Builder()
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.


build

public CreateDropletOptions build()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.