DesktopInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. desktopvirtualization. fluent. models. DesktopInner
- com.
- com.
public final class DesktopInner
extends ProxyResource
Schema for Desktop properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DesktopInner() |
Creates an instance of Desktop |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of Desktop. |
| String |
friendlyName()
Get the friendly |
|
static
Desktop |
fromJson(JsonReader jsonReader)
Reads an instance of Desktop |
| byte[] |
iconContent()
Get the icon |
| String |
iconHash()
Get the icon |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
objectId()
Get the object |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Desktop |
withDescription(String description)
Set the description property: Description of Desktop. |
|
Desktop |
withFriendlyName(String friendlyName)
Set the friendly |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DesktopInner
public DesktopInner()
Creates an instance of DesktopInner class.
Method Details
description
public String description()
Get the description property: Description of Desktop.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Desktop.
Returns:
fromJson
public static DesktopInner fromJson(JsonReader jsonReader)
Reads an instance of DesktopInner from the JsonReader.
Parameters:
Returns:
Throws:
iconContent
public byte[] iconContent()
Get the iconContent property: The icon a 64 bit string as a byte array.
Returns:
iconHash
public String iconHash()
Get the iconHash property: Hash of the icon.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DesktopInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DesktopInner.name()Returns:
objectId
public String objectId()
Get the objectId property: ObjectId of Desktop. (internal use).
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DesktopInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DesktopInner.type()Returns:
validate
public void validate()
Validates the instance.
withDescription
public DesktopInner withDescription(String description)
Set the description property: Description of Desktop.
Parameters:
Returns:
withFriendlyName
public DesktopInner withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Desktop.
Parameters:
Returns: