Class DigitalTwinsPatchProperties

java.lang.Object
com.azure.resourcemanager.digitaltwins.models.DigitalTwinsPatchProperties

public final class DigitalTwinsPatchProperties extends Object
The properties of a DigitalTwinsInstance.
  • Constructor Details

    • DigitalTwinsPatchProperties

      public DigitalTwinsPatchProperties()
  • Method Details

    • publicNetworkAccess

      public PublicNetworkAccess publicNetworkAccess()
      Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.
      Returns:
      the publicNetworkAccess value.
    • withPublicNetworkAccess

      public DigitalTwinsPatchProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
      Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.
      Parameters:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the DigitalTwinsPatchProperties object itself.
    • validate

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