SharedPrivateLinkResourceProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.SharedPrivateLinkResourceProperties

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.

ResourceReference 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.

SharedPrivateLinkResourceStatus status()

Get status of the shared private link resource.

SharedPrivateLinkResourceProperties withGroupId(String groupId)

Set the group id from the provider of resource the shared private link resource is for.

SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)

Set the resource id of the resource the shared private link resource is for.

SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)

Set the location of the shared private link resource.

SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)

Set the request message for requesting approval of the shared private link resource.

SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)

Set status of the shared private link resource.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the groupId value

privateLink

public ResourceReference privateLink()

Get the resource id of the resource the shared private link resource is for.

Returns:

the privateLink value

privateLinkLocation

public String privateLinkLocation()

Get the location of the shared private link resource.

Returns:

the privateLinkLocation value

requestMessage

public String requestMessage()

Get the request message for requesting approval of the shared private link resource.

Returns:

the requestMessage value

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:

the status value

withGroupId

public SharedPrivateLinkResourceProperties withGroupId(String groupId)

Set the group id from the provider of resource the shared private link resource is for.

Parameters:

groupId - the groupId value to set

Returns:

the SharedPrivateLinkResourceProperties object itself.

withPrivateLink

public SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)

Set the resource id of the resource the shared private link resource is for.

Parameters:

privateLink - the privateLink value to set

Returns:

the SharedPrivateLinkResourceProperties object itself.

withPrivateLinkLocation

public SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)

Set the location of the shared private link resource.

Parameters:

privateLinkLocation - the privateLinkLocation value to set

Returns:

the SharedPrivateLinkResourceProperties object itself.

withRequestMessage

public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)

Set the request message for requesting approval of the shared private link resource.

Parameters:

requestMessage - the requestMessage value to set

Returns:

the SharedPrivateLinkResourceProperties object itself.

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:

status - the status value to set

Returns:

the SharedPrivateLinkResourceProperties object itself.

Applies to