Partager via


ShareablePrivateLinkResourceType Class

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

Implements

public final class ShareablePrivateLinkResourceType
implements JsonSerializable<ShareablePrivateLinkResourceType>

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

Constructor Summary

Constructor Description
ShareablePrivateLinkResourceType()

Creates an instance of ShareablePrivateLinkResourceType class.

Method Summary

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

Reads an instance of ShareablePrivateLinkResourceType from the JsonReader.

String name()

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

ShareablePrivateLinkResourceProperties properties()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ShareablePrivateLinkResourceType

public ShareablePrivateLinkResourceType()

Creates an instance of ShareablePrivateLinkResourceType class.

Method Details

fromJson

public static ShareablePrivateLinkResourceType fromJson(JsonReader jsonReader)

Reads an instance of ShareablePrivateLinkResourceType from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

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

Returns:

the name value.

properties

public ShareablePrivateLinkResourceProperties properties()

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

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to