Class ShareablePrivateLinkResourceType
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.ShareablePrivateLinkResourceType
-
public final class ShareablePrivateLinkResourceType extends Object
Describes a resource type that has been onboarded to private link service.
-
-
Constructor Summary
Constructors Constructor Description ShareablePrivateLinkResourceType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: The name of the resource type that has been onboarded to private link service.ShareablePrivateLinkResourceProperties
properties()
Get the properties property: Describes the properties of a resource type that has been onboarded to private link service.void
validate()
Validates the instance.ShareablePrivateLinkResourceType
withName(String name)
Set the name property: The name of the resource type that has been onboarded to private link service.ShareablePrivateLinkResourceType
withProperties(ShareablePrivateLinkResourceProperties properties)
Set the properties property: Describes the properties of a resource type that has been onboarded to private link service.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the resource type that has been onboarded to private link service.- Returns:
- the name value.
-
withName
public ShareablePrivateLinkResourceType withName(String name)
Set the name property: The name of the resource type that has been onboarded to private link service.- Parameters:
name
- the name value to set.- Returns:
- the ShareablePrivateLinkResourceType object itself.
-
properties
public ShareablePrivateLinkResourceProperties properties()
Get the properties property: Describes the properties of a resource type that has been onboarded to private link service.- Returns:
- the properties value.
-
withProperties
public ShareablePrivateLinkResourceType withProperties(ShareablePrivateLinkResourceProperties properties)
Set the properties property: Describes the properties of a resource type that has been onboarded to private link service.- Parameters:
properties
- the properties value to set.- Returns:
- the ShareablePrivateLinkResourceType object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-