BareMetalMachinePatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. BareMetalMachinePatchParameters
- com.
Implements
public final class BareMetalMachinePatchParameters
implements JsonSerializable<BareMetalMachinePatchParameters>
BareMetalMachinePatchParameters represents the body of the request to patch bare metal machine properties.
Constructor Summary
| Constructor | Description |
|---|---|
| BareMetalMachinePatchParameters() |
Creates an instance of Bare |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Bare |
fromJson(JsonReader jsonReader)
Reads an instance of Bare |
| String |
machineDetails()
Get the machine |
| Map<String,String> |
tags()
Get the tags property: The Azure resource tags that will replace the existing ones. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Bare |
withMachineDetails(String machineDetails)
Set the machine |
|
Bare |
withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones. |
Methods inherited from java.lang.Object
Constructor Details
BareMetalMachinePatchParameters
public BareMetalMachinePatchParameters()
Creates an instance of BareMetalMachinePatchParameters class.
Method Details
fromJson
public static BareMetalMachinePatchParameters fromJson(JsonReader jsonReader)
Reads an instance of BareMetalMachinePatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
machineDetails
public String machineDetails()
Get the machineDetails property: The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The Azure resource tags that will replace the existing ones.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMachineDetails
public BareMetalMachinePatchParameters withMachineDetails(String machineDetails)
Set the machineDetails property: The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine.
Parameters:
Returns:
withTags
public BareMetalMachinePatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns: