public class UpdateVirtualMachineOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
UpdateVirtualMachineOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static UpdateVirtualMachineOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
UpdateVirtualMachineOptions() |
Modifier and Type | Method and Description |
---|---|
UpdateVirtualMachineOptions |
displayName(String displayName)
sets the displayName - just for display purposes.
|
UpdateVirtualMachineOptions |
group(String group) |
UpdateVirtualMachineOptions |
haEnable(boolean haEnable) |
UpdateVirtualMachineOptions |
osTypeId(String osTypeId) |
UpdateVirtualMachineOptions |
userData(byte[] unencodedData) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final UpdateVirtualMachineOptions NONE
public UpdateVirtualMachineOptions displayName(String displayName)
displayName
- an optional user generated name for the virtual machinepublic UpdateVirtualMachineOptions group(String group)
group
- an optional group for the virtual machinepublic UpdateVirtualMachineOptions haEnable(boolean haEnable)
haEnable
- true if high-availability is enabled for the virtual machine, false otherwisepublic UpdateVirtualMachineOptions osTypeId(String osTypeId)
osTypeId
- the ID of the OS type that best represents this VM.public UpdateVirtualMachineOptions userData(byte[] unencodedData)
unencodedData
- an optional binary data that can be sent to the virtual machine
upon a successful deployment. This binary data must be base64
encoded before adding it to the request. Currently only HTTP GET
is supported. Using HTTP GET (via querystring), you can send up
to 2KB of data after base64 encoding.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.