SharedPrivateLinkResourceProperties Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. SharedPrivateLinkResourceProperties
- com.
public class SharedPrivateLinkResourceProperties
Describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin.
Constructor Summary
Constructor | Description | |
---|---|---|
SharedPrivateLinkResourceProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
groupId()
Get the group id from the provider of resource the shared private link resource is for. |
Resource |
privateLink()
Get the resource id of the resource the shared private link resource is for. |
java.lang.String |
privateLinkLocation()
Get the location of the shared private link resource. |
java.lang.String |
requestMessage()
Get the request message for requesting approval of the shared private link resource. |
Shared |
status()
Get status of the shared private link resource. |
Shared |
withGroupId(String groupId)
Set the group id from the provider of resource the shared private link resource is for. |
Shared |
withPrivateLink(ResourceReference privateLink)
Set the resource id of the resource the shared private link resource is for. |
Shared |
withPrivateLinkLocation(String privateLinkLocation)
Set the location of the shared private link resource. |
Shared |
withRequestMessage(String requestMessage)
Set the request message for requesting approval of the shared private link resource. |
Shared |
withStatus(SharedPrivateLinkResourceStatus status)
Set status of the shared private link resource. |
Methods inherited from java.lang.Object
Constructor Details
SharedPrivateLinkResourceProperties
public SharedPrivateLinkResourceProperties()
Method Details
groupId
public String groupId()
Get the group id from the provider of resource the shared private link resource is for.
Returns:
privateLink
public ResourceReference privateLink()
Get the resource id of the resource the shared private link resource is for.
Returns:
privateLinkLocation
public String privateLinkLocation()
Get the location of the shared private link resource.
Returns:
requestMessage
public String requestMessage()
Get the request message for requesting approval of the shared private link resource.
Returns:
status
public SharedPrivateLinkResourceStatus status()
Get status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'.
Returns:
withGroupId
public SharedPrivateLinkResourceProperties withGroupId(String groupId)
Set the group id from the provider of resource the shared private link resource is for.
Parameters:
Returns:
withPrivateLink
public SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)
Set the resource id of the resource the shared private link resource is for.
Parameters:
Returns:
withPrivateLinkLocation
public SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)
Set the location of the shared private link resource.
Parameters:
Returns:
withRequestMessage
public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)
Set the request message for requesting approval of the shared private link resource.
Parameters:
Returns:
withStatus
public SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)
Set status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'.
Parameters:
Returns:
Applies to
Azure SDK for Java