你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SharedPrivateLinkResourceProperties 类

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

public class SharedPrivateLinkResourceProperties

描述连接到专用源时要使用的现有共享专用链接资源的属性。

构造函数摘要

构造函数 说明
SharedPrivateLinkResourceProperties()

方法摘要

修饰符和类型 方法和描述
java.lang.String groupId()

从共享专用链接资源所属的资源提供程序获取组 ID。

ResourceReference privateLink()

获取共享专用链接资源所针对的资源的资源 ID。

java.lang.String privateLinkLocation()

获取共享专用链接资源的位置。

java.lang.String requestMessage()

获取请求批准共享专用链接资源的请求消息。

SharedPrivateLinkResourceStatus status()

获取共享专用链接资源的状态。

SharedPrivateLinkResourceProperties withGroupId(String groupId)

从共享专用链接资源所属的资源提供程序设置组 ID。

SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)

设置共享专用链接资源所针对的资源的资源 ID。

SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)

设置共享专用链接资源的位置。

SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)

设置请求批准共享专用链接资源的请求消息。

SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)

设置共享专用链接资源的状态。

方法继承自 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

构造函数详细信息

SharedPrivateLinkResourceProperties

public SharedPrivateLinkResourceProperties()

方法详细信息

groupId

public String groupId()

从共享专用链接资源所属的资源提供程序获取组 ID。

Returns:

groupId 值

privateLink

public ResourceReference privateLink()

获取共享专用链接资源所针对的资源的资源 ID。

Returns:

privateLink 值

privateLinkLocation

public String privateLinkLocation()

获取共享专用链接资源的位置。

Returns:

privateLinkLocation 值

requestMessage

public String requestMessage()

获取请求批准共享专用链接资源的请求消息。

Returns:

requestMessage 值

status

public SharedPrivateLinkResourceStatus status()

获取共享专用链接资源的状态。 可以是“挂起”、“已批准”、“已拒绝”、“断开连接”或“超时”。 可能的值包括:“Pending”、“Approved”、“Rejected”、“Disconnected”、“Timeout”。

Returns:

状态值

withGroupId

public SharedPrivateLinkResourceProperties withGroupId(String groupId)

从共享专用链接资源所属的资源提供程序设置组 ID。

Parameters:

groupId - 要设置的 groupId 值

Returns:

SharedPrivateLinkResourceProperties 对象本身。

withPrivateLink

public SharedPrivateLinkResourceProperties withPrivateLink(ResourceReference privateLink)

设置共享专用链接资源所针对的资源的资源 ID。

Parameters:

privateLink - 要设置的 privateLink 值

Returns:

SharedPrivateLinkResourceProperties 对象本身。

withPrivateLinkLocation

public SharedPrivateLinkResourceProperties withPrivateLinkLocation(String privateLinkLocation)

设置共享专用链接资源的位置。

Parameters:

privateLinkLocation - 要设置的 privateLinkLocation 值

Returns:

SharedPrivateLinkResourceProperties 对象本身。

withRequestMessage

public SharedPrivateLinkResourceProperties withRequestMessage(String requestMessage)

设置请求批准共享专用链接资源的请求消息。

Parameters:

requestMessage - 要设置的 requestMessage 值

Returns:

SharedPrivateLinkResourceProperties 对象本身。

withStatus

public SharedPrivateLinkResourceProperties withStatus(SharedPrivateLinkResourceStatus status)

设置共享专用链接资源的状态。 可以是“挂起”、“已批准”、“已拒绝”、“断开连接”或“超时”。 可能的值包括:“Pending”、“Approved”、“Rejected”、“Disconnected”、“Timeout”。

Parameters:

status - 要设置的状态值

Returns:

SharedPrivateLinkResourceProperties 对象本身。

适用于