public class CreateMachineOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
CreateMachineOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateMachineOptions() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<String,String> |
buildQueryParameters()
Builds query parameters representing options.
|
boolean |
equals(Object object) |
int |
hashCode() |
CreateMachineOptions |
metadata(Map<String,String> metadata)
An arbitrary set of metadata key/value pairs.
|
CreateMachineOptions |
name(String name)
friendly name for this machine; default is a randomly generated name
|
CreateMachineOptions |
packageName(String packageName)
Name of the package to use on provisioning; default is indicated in
PackageApi.list() |
String |
toString() |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, replaceHeader
public boolean equals(Object object)
equals
in class BaseHttpRequestOptions
public int hashCode()
hashCode
in class BaseHttpRequestOptions
public String toString()
toString
in class BaseHttpRequestOptions
public com.google.common.collect.Multimap<String,String> buildQueryParameters()
BaseHttpRequestOptions
buildQueryParameters
in interface HttpRequestOptions
buildQueryParameters
in class BaseHttpRequestOptions
public CreateMachineOptions name(String name)
public CreateMachineOptions packageName(String packageName)
PackageApi.list()
public CreateMachineOptions metadata(Map<String,String> metadata)
Copyright © 2009-2013 jclouds. All Rights Reserved.