Class PrivateLinkResource
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.datafactory.models.PrivateLinkResource
public final class PrivateLinkResource
extends com.azure.core.management.SubResource
A private link resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: Etag identifies change in the resource.name()
Get the name property: The resource name.Get the properties property: Core resource properties.type()
Get the type property: The resource type.void
validate()
Validates the instance.withProperties
(PrivateLinkResourceProperties properties) Set the properties property: Core resource properties.Methods inherited from class com.azure.core.management.SubResource
id
-
Constructor Details
-
PrivateLinkResource
public PrivateLinkResource()Creates an instance of PrivateLinkResource class.
-
-
Method Details
-
properties
Get the properties property: Core resource properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Core resource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the PrivateLinkResource object itself.
-
name
Get the name property: The resource name.- Returns:
- the name value.
-
type
Get the type property: The resource type.- Returns:
- the type value.
-
etag
Get the etag property: Etag identifies change in the resource.- Returns:
- the etag value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-