Compartir a través de


PrivateEndpoint Class

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

Implements

public final class PrivateEndpoint
implements JsonSerializable<PrivateEndpoint>

Private endpoint which a connection belongs to.

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 resource ID of the private endpoint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpoint withId(String id)

Set the id property: The resource ID of the private endpoint.

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 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 PrivateEndpoint withId(String id)

Set the id property: The resource ID of the private endpoint.

Parameters:

id - the id value to set.

Returns:

the PrivateEndpoint object itself.

Applies to