SrvRecord Class
- java.
lang. Object - com.
microsoft. azure. management. dns. SrvRecord
- com.
public class SrvRecord
An SRV record.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
port()
Get the port value. |
Integer |
priority()
Get the priority value. |
String |
target()
Get the target value. |
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. |
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
Azure SDK for Java