public final class SharedPrivateLinkResourceProperties extends Object
| Constructor and Description |
|---|
SharedPrivateLinkResourceProperties() |
| Modifier and Type | Method and 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.
|
SharedPrivateLinkResourceProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the shared private link resource.
|
String |
requestMessage()
Get the requestMessage property: The request message for requesting approval of the shared private link resource.
|
String |
resourceRegion()
Get the resourceRegion property: Optional.
|
SharedPrivateLinkResourceStatus |
status()
Get the status property: Status of the shared private link resource.
|
void |
validate()
Validates the instance.
|
SharedPrivateLinkResourceProperties |
withGroupId(String groupId)
Set the groupId property: The group id from the provider of resource the shared private link resource is for.
|
SharedPrivateLinkResourceProperties |
withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The resource id of the resource the shared private link resource is for.
|
SharedPrivateLinkResourceProperties |
withProvisioningState(SharedPrivateLinkResourceProvisioningState provisioningState)
Set the provisioningState property: The provisioning state of the shared private link resource.
|
SharedPrivateLinkResourceProperties |
withRequestMessage(String requestMessage)
Set the requestMessage property: The request message for requesting approval of the shared private link resource.
|
SharedPrivateLinkResourceProperties |
withResourceRegion(String resourceRegion)
Set the resourceRegion property: Optional.
|
SharedPrivateLinkResourceProperties |
withStatus(SharedPrivateLinkResourceStatus status)
Set the status property: Status of the shared private link resource.
|
public String privateLinkResourceId()
public SharedPrivateLinkResourceProperties withPrivateLinkResourceId(String privateLinkResourceId)
privateLinkResourceId - the privateLinkResourceId value to set.public String groupId()
public SharedPrivateLinkResourceProperties withGroupId(String groupId)
groupId - the groupId value to set.public String requestMessage()
public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)
requestMessage - the requestMessage value to set.public String resourceRegion()
public SharedPrivateLinkResourceProperties withResourceRegion(String resourceRegion)
resourceRegion - the resourceRegion value to set.public SharedPrivateLinkResourceStatus status()
public SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)
status - the status value to set.public SharedPrivateLinkResourceProvisioningState provisioningState()
public SharedPrivateLinkResourceProperties withProvisioningState(SharedPrivateLinkResourceProvisioningState provisioningState)
provisioningState - the provisioningState value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.