org.jclouds.rimuhosting.miro.binder
Class CreateServerOptions
java.lang.Object
org.jclouds.rest.binders.BindToJsonPayload
org.jclouds.rimuhosting.miro.binder.RimuHostingJsonBinder
org.jclouds.rimuhosting.miro.binder.CreateServerOptions
- All Implemented Interfaces:
- Binder, MapBinder
public class CreateServerOptions
- extends RimuHostingJsonBinder
- Author:
- Ivan Meredith
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateServerOptions
@Inject
public CreateServerOptions(Json jsonBinder)
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Map<String,String> postParams)
- Description copied from interface:
MapBinder
- creates and binds the POST payload to the request using parameters specified.
- Specified by:
bindToRequest
in interface MapBinder
- Overrides:
bindToRequest
in class RimuHostingJsonBinder
- See Also:
PayloadParam
withPassword
public CreateServerOptions withPassword(String password)
withMetaData
public CreateServerOptions withMetaData(List<MetaData> metaData)
Copyright © 2009-2011 jclouds. All Rights Reserved.