RackPatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. RackPatchParameters
- com.
Implements
public final class RackPatchParameters
implements JsonSerializable<RackPatchParameters>
RackPatchParameters represents the body of the request to patch the rack properties.
Constructor Summary
| Constructor | Description |
|---|---|
| RackPatchParameters() |
Creates an instance of Rack |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rack |
fromJson(JsonReader jsonReader)
Reads an instance of Rack |
| String |
rackLocation()
Get the rack |
| String |
rackSerialNumber()
Get the rack |
| 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. |
|
Rack |
withRackLocation(String rackLocation)
Set the rack |
|
Rack |
withRackSerialNumber(String rackSerialNumber)
Set the rack |
|
Rack |
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
RackPatchParameters
public RackPatchParameters()
Creates an instance of RackPatchParameters class.
Method Details
fromJson
public static RackPatchParameters fromJson(JsonReader jsonReader)
Reads an instance of RackPatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
rackLocation
public String rackLocation()
Get the rackLocation property: The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”).
Returns:
rackSerialNumber
public String rackSerialNumber()
Get the rackSerialNumber property: The globally unique identifier for the rack.
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.
withRackLocation
public RackPatchParameters withRackLocation(String rackLocation)
Set the rackLocation property: The free-form description of the rack location. (e.g. “DTN Datacenter, Floor 3, Isle 9, Rack 2B”).
Parameters:
Returns:
withRackSerialNumber
public RackPatchParameters withRackSerialNumber(String rackSerialNumber)
Set the rackSerialNumber property: The globally unique identifier for the rack.
Parameters:
Returns:
withTags
public RackPatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns: