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
Constructors Constructor Description PrivateLinkResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Etag identifies change in the resource.String
name()
Get the name property: The resource name.PrivateLinkResourceProperties
properties()
Get the properties property: Core resource properties.String
type()
Get the type property: The resource type.void
validate()
Validates the instance.PrivateLinkResource
withId(String id)
PrivateLinkResource
withProperties(PrivateLinkResourceProperties properties)
Set the properties property: Core resource properties.
-
-
-
Method Detail
-
properties
public PrivateLinkResourceProperties properties()
Get the properties property: Core resource properties.- Returns:
- the properties value.
-
withProperties
public PrivateLinkResource withProperties(PrivateLinkResourceProperties properties)
Set the properties property: Core resource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the PrivateLinkResource object itself.
-
name
public String name()
Get the name property: The resource name.- Returns:
- the name value.
-
type
public String type()
Get the type property: The resource type.- Returns:
- the type value.
-
etag
public String etag()
Get the etag property: Etag identifies change in the resource.- Returns:
- the etag value.
-
withId
public PrivateLinkResource withId(String id)
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-