Class SharedPrivateLinkResourceProperties
java.lang.Object
com.azure.resourcemanager.webpubsub.fluent.models.SharedPrivateLinkResourceProperties
Describes the properties of an existing Shared Private Link Resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SharedPrivateLinkResourceProperties class. -
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 privateLinkResourceId property: The resource id of the resource the shared private link resource is for.Get the provisioningState property: Provisioning state of the 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.void
validate()
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.withPrivateLinkResourceId
(String privateLinkResourceId) Set the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.withRequestMessage
(String requestMessage) Set the requestMessage property: The request message for requesting approval of the shared private link resource.
-
Constructor Details
-
SharedPrivateLinkResourceProperties
public SharedPrivateLinkResourceProperties()Creates an instance of SharedPrivateLinkResourceProperties class.
-
-
Method Details
-
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.
-
privateLinkResourceId
Get the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.- Returns:
- the privateLinkResourceId value.
-
withPrivateLinkResourceId
Set the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.- Parameters:
privateLinkResourceId
- the privateLinkResourceId value to set.- Returns:
- the SharedPrivateLinkResourceProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
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.- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-