다음을 통해 공유


SharedPrivateLinkResourceInner Class

public final class SharedPrivateLinkResourceInner
extends ProxyResource

Describes a Shared Private Link Resource managed by the search service.

Constructor Summary

Constructor Description
SharedPrivateLinkResourceInner()

Creates an instance of SharedPrivateLinkResourceInner class.

Method Summary

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

Reads an instance of SharedPrivateLinkResourceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SharedPrivateLinkResourceProperties properties()

Get the properties property: Describes the properties of a Shared Private Link Resource managed by the search service.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SharedPrivateLinkResourceInner withProperties(SharedPrivateLinkResourceProperties properties)

Set the properties property: Describes the properties of a Shared Private Link Resource managed by the search service.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SharedPrivateLinkResourceInner

public SharedPrivateLinkResourceInner()

Creates an instance of SharedPrivateLinkResourceInner class.

Method Details

fromJson

public static SharedPrivateLinkResourceInner fromJson(JsonReader jsonReader)

Reads an instance of SharedPrivateLinkResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SharedPrivateLinkResourceInner 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: Fully qualified resource Id for the resource.

Overrides:

SharedPrivateLinkResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SharedPrivateLinkResourceInner.name()

Returns:

the name value.

properties

public SharedPrivateLinkResourceProperties properties()

Get the properties property: Describes the properties of a Shared Private Link Resource managed by the search service.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SharedPrivateLinkResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SharedPrivateLinkResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public SharedPrivateLinkResourceInner withProperties(SharedPrivateLinkResourceProperties properties)

Set the properties property: Describes the properties of a Shared Private Link Resource managed by the search service.

Parameters:

properties - the properties value to set.

Returns:

the SharedPrivateLinkResourceInner object itself.

Applies to