PrivateEndpointConnectionPropertiesPrivateEndpoint Class

  • java.lang.Object
    • com.azure.resourcemanager.search.models.PrivateEndpointConnectionPropertiesPrivateEndpoint

Implements

public final class PrivateEndpointConnectionPropertiesPrivateEndpoint
implements JsonSerializable<PrivateEndpointConnectionPropertiesPrivateEndpoint>

The private endpoint resource from Microsoft.Network provider.

Constructor Summary

Constructor Description
PrivateEndpointConnectionPropertiesPrivateEndpoint()

Creates an instance of PrivateEndpointConnectionPropertiesPrivateEndpoint class.

Method Summary

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

Reads an instance of PrivateEndpointConnectionPropertiesPrivateEndpoint from the JsonReader.

String id()

Get the id property: The resource id of the private endpoint resource from Microsoft.Network provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpointConnectionPropertiesPrivateEndpoint withId(String id)

Set the id property: The resource id of the private endpoint resource from Microsoft.Network provider.

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointConnectionPropertiesPrivateEndpoint

public PrivateEndpointConnectionPropertiesPrivateEndpoint()

Creates an instance of PrivateEndpointConnectionPropertiesPrivateEndpoint class.

Method Details

fromJson

public static PrivateEndpointConnectionPropertiesPrivateEndpoint fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionPropertiesPrivateEndpoint from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The resource id of the private endpoint resource from Microsoft.Network provider.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public PrivateEndpointConnectionPropertiesPrivateEndpoint withId(String id)

Set the id property: The resource id of the private endpoint resource from Microsoft.Network provider.

Parameters:

id - the id value to set.

Returns:

the PrivateEndpointConnectionPropertiesPrivateEndpoint object itself.

Applies to