PrivateEndpoint Class

  • java.lang.Object
    • com.azure.resourcemanager.redis.models.PrivateEndpoint

Implements

public final class PrivateEndpoint
implements JsonSerializable<PrivateEndpoint>

The Private Endpoint resource.

Constructor Summary

Constructor Description
PrivateEndpoint()

Creates an instance of PrivateEndpoint class.

Method Summary

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

Reads an instance of PrivateEndpoint from the JsonReader.

String id()

Get the id property: The ARM identifier for Private Endpoint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpoint

public PrivateEndpoint()

Creates an instance of PrivateEndpoint class.

Method Details

fromJson

public static PrivateEndpoint fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpoint from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The ARM identifier for Private Endpoint.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to