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
Constructors Constructor Description DigitalTwinsResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DigitalTwinsIdentity
identity()
Get the identity property: The managed identity for the DigitalTwinsInstance.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the DigitalTwinsInstance.void
validate()
Validates the instance.DigitalTwinsResource
withIdentity(DigitalTwinsIdentity identity)
Set the identity property: The managed identity for the DigitalTwinsInstance.DigitalTwinsResource
withLocation(String location)
DigitalTwinsResource
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
identity
public DigitalTwinsIdentity identity()
Get the identity property: The managed identity for the DigitalTwinsInstance.- Returns:
- the identity value.
-
withIdentity
public DigitalTwinsResource withIdentity(DigitalTwinsIdentity identity)
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
public DigitalTwinsResource withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public DigitalTwinsResource withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-