Share via


VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork Class

  • java.lang.Object
    • com.azure.resourcemanager.databricks.models.VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork

Implements

public final class VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork
implements JsonSerializable<VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork>

The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).

Constructor Summary

Constructor Description
VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork()

Creates an instance of VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork class.

Method Summary

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

Reads an instance of VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork from the JsonReader.

String id()

Get the id property: The Id of the databricks virtual network.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork withId(String id)

Set the id property: The Id of the databricks virtual network.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork

public VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork()

Creates an instance of VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork class.

Method Details

fromJson

public static VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork 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 VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork.

id

public String id()

Get the id property: The Id of the databricks virtual network.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork withId(String id)

Set the id property: The Id of the databricks virtual network.

Parameters:

id - the id value to set.

Returns:

the VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork object itself.

Applies to