Class DigitalTwinsResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.digitaltwins.models.DigitalTwinsResource
- Direct Known Subclasses:
DigitalTwinsDescriptionInner
public class DigitalTwinsResource
extends com.azure.core.management.Resource
The common properties of a DigitalTwinsInstance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: The managed identity for the DigitalTwinsInstance.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.void
validate()
Validates the instance.withIdentity
(DigitalTwinsIdentity identity) Set the identity property: The managed identity for the DigitalTwinsInstance.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DigitalTwinsResource
public DigitalTwinsResource()
-
-
Method Details
-
identity
Get the identity property: The managed identity for the DigitalTwinsInstance.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The managed identity for the DigitalTwinsInstance.- Parameters:
identity
- the identity value to set.- Returns:
- the DigitalTwinsResource object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-