PrivateEndpointProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.PrivateEndpointProperty

Implements

public final class PrivateEndpointProperty
implements JsonSerializable<PrivateEndpointProperty>

The PrivateEndpointProperty model.

Constructor Summary

Constructor Description
PrivateEndpointProperty()

Creates an instance of PrivateEndpointProperty class.

Method Summary

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

Reads an instance of PrivateEndpointProperty from the JsonReader.

String id()

Get the id property: Resource id of the private endpoint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpointProperty withId(String id)

Set the id property: Resource id of the private endpoint.

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointProperty

public PrivateEndpointProperty()

Creates an instance of PrivateEndpointProperty class.

Method Details

fromJson

public static PrivateEndpointProperty fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointProperty from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource id of the private endpoint.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public PrivateEndpointProperty withId(String id)

Set the id property: Resource id of the private endpoint.

Parameters:

id - the id value to set.

Returns:

the PrivateEndpointProperty object itself.

Applies to