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 Details

    • DigitalTwinsResource

      public DigitalTwinsResource()
  • Method Details

    • 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 class com.azure.core.management.Resource
    • withTags

      public DigitalTwinsResource withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.