PrivateEndpoint Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.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: This is private endpoint resource created with Microsoft.Network resource provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpoint withId(String id)

Set the id property: This is private endpoint resource created with Microsoft.Network resource provider.

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: This is private endpoint resource created with Microsoft.Network resource provider.

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: This is private endpoint resource created with Microsoft.Network resource provider.

Parameters:

id - the id value to set.

Returns:

the PrivateEndpoint object itself.

Applies to