PrivateLinkResourceInner Class

  • java.lang.Object
    • com.azure.resourcemanager.purview.fluent.models.PrivateLinkResourceInner

Implements

public final class PrivateLinkResourceInner
implements JsonSerializable<PrivateLinkResourceInner>

A privately linkable resource.

Constructor Summary

Constructor Description
PrivateLinkResourceInner()

Creates an instance of PrivateLinkResourceInner class.

Method Summary

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

Reads an instance of PrivateLinkResourceInner from the JsonReader.

String id()

Get the id property: The private link resource identifier.

String name()

Get the name property: The private link resource name.

PrivateLinkResourceProperties properties()

Get the properties property: The private link resource properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The private link resource type.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PrivateLinkResourceInner

public PrivateLinkResourceInner()

Creates an instance of PrivateLinkResourceInner class.

Method Details

fromJson

public static PrivateLinkResourceInner fromJson(JsonReader jsonReader)

Reads an instance of PrivateLinkResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The private link resource identifier.

Returns:

the id value.

name

public String name()

Get the name property: The private link resource name.

Returns:

the name value.

properties

public PrivateLinkResourceProperties properties()

Get the properties property: The private link resource properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The private link resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to