Class SharedPrivateLinkResourceProperties
java.lang.Object
com.azure.resourcemanager.cdn.models.SharedPrivateLinkResourceProperties
Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroupId()Get the groupId property: The group id from the provider of resource the shared private link resource is for.Get the privateLink property: The resource id of the resource the shared private link resource is for.Get the privateLinkLocation property: The location of the shared private link resource.Get the requestMessage property: The request message for requesting approval of the shared private link resource.status()Get the status property: Status of the shared private link resource.voidvalidate()Validates the instance.withGroupId(String groupId) Set the groupId property: The group id from the provider of resource the shared private link resource is for.withPrivateLink(ResourceReference privateLink) Set the privateLink property: The resource id of the resource the shared private link resource is for.withPrivateLinkLocation(String privateLinkLocation) Set the privateLinkLocation property: The location of the shared private link resource.withRequestMessage(String requestMessage) Set the requestMessage property: The request message for requesting approval of the shared private link resource.Set the status property: Status of the shared private link resource.
-
Constructor Details
-
SharedPrivateLinkResourceProperties
public SharedPrivateLinkResourceProperties()
-
-
Method Details
-
privateLink
Get the privateLink property: The resource id of the resource the shared private link resource is for.- Returns:
- the privateLink value.
-
withPrivateLink
Set the privateLink property: 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
Get the privateLinkLocation property: The location of the shared private link resource.- Returns:
- the privateLinkLocation value.
-
withPrivateLinkLocation
Set the privateLinkLocation property: The location of the shared private link resource.- Parameters:
privateLinkLocation- the privateLinkLocation value to set.- Returns:
- the SharedPrivateLinkResourceProperties object itself.
-
groupId
Get the groupId property: The group id from the provider of resource the shared private link resource is for.- Returns:
- the groupId value.
-
withGroupId
Set the groupId property: 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
Get the requestMessage property: The request message for requesting approval of the shared private link resource.- Returns:
- the requestMessage value.
-
withRequestMessage
Set the requestMessage property: 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 the status property: Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-