SrvRecord Class
- java.
lang. Object - com.
microsoft. azure. management. dns. SrvRecord
- com.
public class SrvRecord
An SRV record.
Constructor Summary
Constructor | Description | |
---|---|---|
SrvRecord() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
port()
Get the port value. |
java.lang.Integer |
priority()
Get the priority value. |
java.lang.String |
target()
Get the target value. |
java.lang.Integer |
weight()
Get the weight value. |
Srv |
withPort(Integer port)
Set the port value. |
Srv |
withPriority(Integer priority)
Set the priority value. |
Srv |
withTarget(String target)
Set the target value. |
Srv |
withWeight(Integer weight)
Set the weight value. |
Methods inherited from java.lang.Object
Constructor Details
SrvRecord
public SrvRecord()
Method Details
port
public Integer port()
Get the port value.
Returns:
priority
public Integer priority()
Get the priority value.
Returns:
target
public String target()
Get the target value.
Returns:
weight
public Integer weight()
Get the weight value.
Returns:
withPort
public SrvRecord withPort(Integer port)
Set the port value.
Parameters:
Returns:
withPriority
public SrvRecord withPriority(Integer priority)
Set the priority value.
Parameters:
Returns:
withTarget
public SrvRecord withTarget(String target)
Set the target value.
Parameters:
Returns:
withWeight
public SrvRecord withWeight(Integer weight)
Set the weight value.
Parameters:
Returns:
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應