Condividi tramite


PrivateLinkResource Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.PrivateLinkResource

Implements

public final class PrivateLinkResource
implements JsonSerializable<PrivateLinkResource>

A private link resource.

Method Summary

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

Reads an instance of PrivateLinkResource from the JsonReader.

String id()

Get the id property: The id property.

String name()

Get the name property: Name of a private link resource.

PrivateLinkResourceProperties properties()

Get the properties property: Properties of a private link resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type property.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static PrivateLinkResource fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateLinkResource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: The id property.

Returns:

the id value.

name

public String name()

Get the name property: Name of a private link resource.

Returns:

the name value.

properties

public PrivateLinkResourceProperties properties()

Get the properties property: Properties of a private link resource.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type property.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to