Partager via


ShareablePrivateLinkResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.search.models.ShareablePrivateLinkResourceProperties

Implements

public final class ShareablePrivateLinkResourceProperties
implements JsonSerializable<ShareablePrivateLinkResourceProperties>

Describes the properties of a resource type that has been onboarded to private link service and that's supported by search.

Constructor Summary

Constructor Description
ShareablePrivateLinkResourceProperties()

Creates an instance of ShareablePrivateLinkResourceProperties class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the resource type that has been onboarded to private link service and that's supported by search.

static ShareablePrivateLinkResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of ShareablePrivateLinkResourceProperties from the JsonReader.

String groupId()

Get the groupId property: The resource provider group id for the resource that has been onboarded to private link service and that's supported by search.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource provider type for the resource that has been onboarded to private link service and that's supported by search.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ShareablePrivateLinkResourceProperties

public ShareablePrivateLinkResourceProperties()

Creates an instance of ShareablePrivateLinkResourceProperties class.

Method Details

description

public String description()

Get the description property: The description of the resource type that has been onboarded to private link service and that's supported by search.

Returns:

the description value.

fromJson

public static ShareablePrivateLinkResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of ShareablePrivateLinkResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupId

public String groupId()

Get the groupId property: The resource provider group id for the resource that has been onboarded to private link service and that's supported by search.

Returns:

the groupId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource provider type for the resource that has been onboarded to private link service and that's supported by search.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to