Class DigitalTwinsResource

  • Direct Known Subclasses:
    DigitalTwinsDescriptionInner

    public class DigitalTwinsResource
    extends com.azure.core.management.Resource
    The common properties of a DigitalTwinsInstance.
    • Constructor Detail

      • DigitalTwinsResource

        public DigitalTwinsResource()
    • 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 class com.azure.core.management.Resource
      • validate

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