Class SharedPrivateLinkResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.signalr.fluent.models.SharedPrivateLinkResourceInner
-
public final class SharedPrivateLinkResourceInner extends com.azure.core.management.ProxyResource
Describes a Shared Private Link Resource.
-
-
Constructor Summary
Constructors Constructor Description SharedPrivateLinkResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
groupId()
Get the groupId property: The group id from the provider of resource the shared private link resource is for.String
privateLinkResourceId()
Get the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.ProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state of the resource.String
requestMessage()
Get the requestMessage property: The request message for requesting approval of the shared private link resource.SharedPrivateLinkResourceStatus
status()
Get the status property: Status of the shared private link resource.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.SharedPrivateLinkResourceInner
withGroupId(String groupId)
Set the groupId property: The group id from the provider of resource the shared private link resource is for.SharedPrivateLinkResourceInner
withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.SharedPrivateLinkResourceInner
withRequestMessage(String requestMessage)
Set the requestMessage property: The request message for requesting approval of the shared private link resource.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
groupId
public String 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
public SharedPrivateLinkResourceInner withGroupId(String groupId)
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 SharedPrivateLinkResourceInner object itself.
-
privateLinkResourceId
public String privateLinkResourceId()
Get the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.- Returns:
- the privateLinkResourceId value.
-
withPrivateLinkResourceId
public SharedPrivateLinkResourceInner withPrivateLinkResourceId(String privateLinkResourceId)
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 SharedPrivateLinkResourceInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
requestMessage
public String requestMessage()
Get the requestMessage property: The request message for requesting approval of the shared private link resource.- Returns:
- the requestMessage value.
-
withRequestMessage
public SharedPrivateLinkResourceInner withRequestMessage(String requestMessage)
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 SharedPrivateLinkResourceInner object itself.
-
status
public SharedPrivateLinkResourceStatus 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.
-
-