Package com.exoscale.sdk.model
Class UpdateInstanceRequest
- java.lang.Object
-
- com.exoscale.sdk.model.UpdateInstanceRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateInstanceRequest extends Object
UpdateInstanceRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
static String
JSON_PROPERTY_USER_DATA
-
Constructor Summary
Constructors Constructor Description UpdateInstanceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this update_instance_request object is equal to o.Map<String,String>
getLabels()
Get labelsString
getName()
Instance namePublicIpAssignment
getPublicIpAssignment()
Get publicIpAssignmentString
getUserData()
Instance Cloud-init user-data (base64 encoded)int
hashCode()
UpdateInstanceRequest
labels(Map<String,String> labels)
UpdateInstanceRequest
name(String name)
UpdateInstanceRequest
publicIpAssignment(PublicIpAssignment publicIpAssignment)
UpdateInstanceRequest
putLabelsItem(String key, String labelsItem)
void
setLabels(Map<String,String> labels)
void
setName(String name)
void
setPublicIpAssignment(PublicIpAssignment publicIpAssignment)
void
setUserData(String userData)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.UpdateInstanceRequest
userData(String userData)
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_DATA
public static final String JSON_PROPERTY_USER_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
public static final String JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public UpdateInstanceRequest name(String name)
-
getName
@Nullable public String getName()
Instance name- Returns:
- name
-
setName
public void setName(String name)
-
userData
public UpdateInstanceRequest userData(String userData)
-
getUserData
@Nullable public String getUserData()
Instance Cloud-init user-data (base64 encoded)- Returns:
- userData
-
setUserData
public void setUserData(String userData)
-
publicIpAssignment
public UpdateInstanceRequest publicIpAssignment(PublicIpAssignment publicIpAssignment)
-
getPublicIpAssignment
@Nullable public PublicIpAssignment getPublicIpAssignment()
Get publicIpAssignment- Returns:
- publicIpAssignment
-
setPublicIpAssignment
public void setPublicIpAssignment(PublicIpAssignment publicIpAssignment)
-
labels
public UpdateInstanceRequest labels(Map<String,String> labels)
-
putLabelsItem
public UpdateInstanceRequest putLabelsItem(String key, String labelsItem)
-
equals
public boolean equals(Object o)
Return true if this update_instance_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-