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 Details

    • PrivateLinkResource

      public PrivateLinkResource()
      Creates an instance of PrivateLinkResource class.
  • Method Details

    • 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 class com.azure.core.management.SubResource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.