DigitalTwinsResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. digitaltwins. models. DigitalTwinsResource
- com.
- com.
- com.
public class DigitalTwinsResource
extends Resource
The common properties of a DigitalTwinsInstance.
Constructor Summary
| Constructor | Description |
|---|---|
| DigitalTwinsResource() |
Creates an instance of Digital |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Digital |
fromJson(JsonReader jsonReader)
Reads an instance of Digital |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Digital |
identity()
Get the identity property: The managed identity for the Digital |
| String |
name()
Get the name property: The name of the resource. |
|
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. |
|
Digital |
withIdentity(DigitalTwinsIdentity identity)
Set the identity property: The managed identity for the Digital |
|
Digital |
withLocation(String location) |
|
Digital |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DigitalTwinsResource
public DigitalTwinsResource()
Creates an instance of DigitalTwinsResource class.
Method Details
fromJson
public static DigitalTwinsResource fromJson(JsonReader jsonReader)
Reads an instance of DigitalTwinsResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DigitalTwinsResource.id()Returns:
identity
public DigitalTwinsIdentity identity()
Get the identity property: The managed identity for the DigitalTwinsInstance.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DigitalTwinsResource.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DigitalTwinsResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DigitalTwinsResource.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public DigitalTwinsResource withIdentity(DigitalTwinsIdentity identity)
Set the identity property: The managed identity for the DigitalTwinsInstance.
Parameters:
Returns:
withLocation
public DigitalTwinsResource withLocation(String location)
Overrides:
DigitalTwinsResource.withLocation(String location)Parameters:
withTags
public DigitalTwinsResource withTags(Map<String,String> tags)
Overrides:
DigitalTwinsResource.withTags(Map<String,String> tags)Parameters: