Class SharedPrivateLinkResourceProperties

java.lang.Object
com.microsoft.azure.management.cdn.SharedPrivateLinkResourceProperties

public class SharedPrivateLinkResourceProperties extends Object
Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin.
  • Constructor Details

    • SharedPrivateLinkResourceProperties

      public SharedPrivateLinkResourceProperties()
  • Method Details

    • privateLink

      public ResourceReference privateLink()
      Get the resource id of the resource the shared private link resource is for.
      Returns:
      the privateLink value
    • withPrivateLink

      public SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)
      Set the resource id of the resource the shared private link resource is for.
      Parameters:
      privateLink - the privateLink value to set
      Returns:
      the SharedPrivateLinkResourceProperties object itself.
    • privateLinkLocation

      public String privateLinkLocation()
      Get the location of the shared private link resource.
      Returns:
      the privateLinkLocation value
    • withPrivateLinkLocation

      public SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)
      Set the location of the shared private link resource.
      Parameters:
      privateLinkLocation - the privateLinkLocation value to set
      Returns:
      the SharedPrivateLinkResourceProperties object itself.
    • groupId

      public String groupId()
      Get the group id from the provider of resource the shared private link resource is for.
      Returns:
      the groupId value
    • withGroupId

      public SharedPrivateLinkResourceProperties withGroupId(String groupId)
      Set the group id from the provider of resource the shared private link resource is for.
      Parameters:
      groupId - the groupId value to set
      Returns:
      the SharedPrivateLinkResourceProperties object itself.
    • requestMessage

      public String requestMessage()
      Get the request message for requesting approval of the shared private link resource.
      Returns:
      the requestMessage value
    • withRequestMessage

      public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)
      Set the request message for requesting approval of the shared private link resource.
      Parameters:
      requestMessage - the requestMessage value to set
      Returns:
      the SharedPrivateLinkResourceProperties object itself.
    • status

      Get status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'.
      Returns:
      the status value
    • withStatus

      Set status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'.
      Parameters:
      status - the status value to set
      Returns:
      the SharedPrivateLinkResourceProperties object itself.