Freigeben über


PrivateEndpoint Class

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

Implements

public final class PrivateEndpoint
implements JsonSerializable<PrivateEndpoint>

PrivateEndpoint information.

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.

PrivateEndpoint withId(String id)

Set the id property: The ARM identifier for 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 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.

withId

public PrivateEndpoint withId(String id)

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

Parameters:

id - the id value to set.

Returns:

the PrivateEndpoint object itself.

Applies to