Class ShareablePrivateLinkResourceProperties
java.lang.Object
com.azure.resourcemanager.webpubsub.models.ShareablePrivateLinkResourceProperties
Describes the properties of a resource type that has been onboarded to private link service.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ShareablePrivateLinkResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the resource type that has been onboarded to private link service.groupId()
Get the groupId property: The resource provider group id for the resource that has been onboarded to private link service.type()
Get the type property: The resource provider type for the resource that has been onboarded to private link service.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description of the resource type that has been onboarded to private link service.withGroupId
(String groupId) Set the groupId property: The resource provider group id for the resource that has been onboarded to private link service.Set the type property: The resource provider type for the resource that has been onboarded to private link service.
-
Constructor Details
-
ShareablePrivateLinkResourceProperties
public ShareablePrivateLinkResourceProperties()Creates an instance of ShareablePrivateLinkResourceProperties class.
-
-
Method Details
-
description
Get the description property: The description of the resource type that has been onboarded to private link service.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the resource type that has been onboarded to private link service.- Parameters:
description
- the description value to set.- Returns:
- the ShareablePrivateLinkResourceProperties object itself.
-
groupId
Get the groupId property: The resource provider group id for the resource that has been onboarded to private link service.- Returns:
- the groupId value.
-
withGroupId
Set the groupId property: The resource provider group id for the resource that has been onboarded to private link service.- Parameters:
groupId
- the groupId value to set.- Returns:
- the ShareablePrivateLinkResourceProperties object itself.
-
type
Get the type property: The resource provider type for the resource that has been onboarded to private link service.- Returns:
- the type value.
-
withType
Set the type property: The resource provider type for the resource that has been onboarded to private link service.- Parameters:
type
- the type value to set.- Returns:
- the ShareablePrivateLinkResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-