你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ConnectivityDestination 类
- java.
lang. Object - com.
microsoft. azure. management. network. ConnectivityDestination
- com.
public class ConnectivityDestination
定义连接目标的参数。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
String |
address()
获取地址值。 |
Integer |
port()
获取端口值。 |
String |
resourceId()
获取 resourceId 值。 |
Connectivity |
withAddress(String address)
设置地址值。 |
Connectivity |
withPort(Integer port)
设置端口值。 |
Connectivity |
withResourceId(String resourceId)
设置 resourceId 值。 |
方法详细信息
address
public String address()
获取地址值。
Returns:
地址值
port
public Integer port()
获取端口值。
Returns:
端口值
resourceId
public String resourceId()
获取 resourceId 值。
Returns:
resourceId 值
withAddress
public ConnectivityDestination withAddress(String address)
设置地址值。
Parameters:
address
- 要设置的地址值
Returns:
ConnectivityDestination 对象本身。
withPort
public ConnectivityDestination withPort(Integer port)
设置端口值。
Parameters:
port
- 要设置的端口值
Returns:
ConnectivityDestination 对象本身。
withResourceId
public ConnectivityDestination withResourceId(String resourceId)
设置 resourceId 值。
Parameters:
resourceId
- 要设置的 resourceId 值
Returns:
ConnectivityDestination 对象本身。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈