DigitalTwinsPatchProperties Class

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

Implements

public final class DigitalTwinsPatchProperties
implements JsonSerializable<DigitalTwinsPatchProperties>

The properties of a DigitalTwinsInstance.

Constructor Summary

Constructor Description
DigitalTwinsPatchProperties()

Creates an instance of DigitalTwinsPatchProperties class.

Method Summary

Modifier and Type Method and Description
static DigitalTwinsPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of DigitalTwinsPatchProperties from the JsonReader.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DigitalTwinsPatchProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.

Methods inherited from java.lang.Object

Constructor Details

DigitalTwinsPatchProperties

public DigitalTwinsPatchProperties()

Creates an instance of DigitalTwinsPatchProperties class.

Method Details

fromJson

public static DigitalTwinsPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of DigitalTwinsPatchProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DigitalTwinsPatchProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DigitalTwinsPatchProperties.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Public network access for the DigitalTwinsInstance.

Returns:

the publicNetworkAccess value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

Applies to