Class DigitalTwinsPatchProperties
- java.lang.Object
-
- com.azure.resourcemanager.digitaltwins.models.DigitalTwinsPatchProperties
-
public final class DigitalTwinsPatchProperties extends Object
The properties of a DigitalTwinsInstance.
-
-
Constructor Summary
Constructors Constructor Description DigitalTwinsPatchProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicNetworkAccess
publicNetworkAccess()
Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.void
validate()
Validates the instance.DigitalTwinsPatchProperties
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.
-
-
-
Method Detail
-
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.
-
-