Class PrivateLinkResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cognitiveservices.models.PrivateLinkResource
public final class PrivateLinkResource
extends com.azure.core.management.ProxyResource
A private link resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: Resource properties.void
validate()
Validates the instance.withProperties
(PrivateLinkResourceProperties properties) Set the properties property: Resource properties.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PrivateLinkResource
public PrivateLinkResource()Creates an instance of PrivateLinkResource class.
-
-
Method Details
-
properties
Get the properties property: Resource properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Resource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the PrivateLinkResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-