Package org.openstack4j.model.compute
Class ServerUpdateOptions
- java.lang.Object
-
- org.openstack4j.model.compute.ServerUpdateOptions
-
public class ServerUpdateOptions extends Object
Options used to Update a Server instance- Author:
- Jeremy Unruh
-
-
Constructor Summary
Constructors Constructor Description ServerUpdateOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerUpdateOptions
accessIPv4(String accessIPv4)
The IP Version 4 AddressServerUpdateOptions
accessIPv6(String accessIPv6)
The IP Version 6 Addressstatic ServerUpdateOptions
create()
String
getAccessIPv4()
String
getAccessIPv6()
String
getName()
ServerUpdateOptions
name(String name)
The name of the server.
-
-
-
Method Detail
-
create
public static ServerUpdateOptions create()
-
name
public ServerUpdateOptions name(String name)
The name of the server.If you edit the server name, the server host name does not change. Also, server names are not guaranteed to be unique.
- Parameters:
name
- the new name of the server- Returns:
- ServerUpdateOptions
-
accessIPv4
public ServerUpdateOptions accessIPv4(String accessIPv4)
The IP Version 4 Address- Parameters:
accessIPv4
- the IP Version 4 Address- Returns:
- ServerUpdateOptions
-
accessIPv6
public ServerUpdateOptions accessIPv6(String accessIPv6)
The IP Version 6 Address- Parameters:
accessIPv6
- the IP Version 6 Address- Returns:
- ServerUpdateOptions
-
getName
public String getName()
-
getAccessIPv4
public String getAccessIPv4()
-
getAccessIPv6
public String getAccessIPv6()
-
-