public final class SrvRecord extends Object
| Constructor and Description |
|---|
SrvRecord() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
port()
Get the port property: The port value for this SRV record.
|
Integer |
priority()
Get the priority property: The priority value for this SRV record.
|
String |
target()
Get the target property: The target domain name for this SRV record.
|
void |
validate()
Validates the instance.
|
Integer |
weight()
Get the weight property: The weight value for this SRV record.
|
SrvRecord |
withPort(Integer port)
Set the port property: The port value for this SRV record.
|
SrvRecord |
withPriority(Integer priority)
Set the priority property: The priority value for this SRV record.
|
SrvRecord |
withTarget(String target)
Set the target property: The target domain name for this SRV record.
|
SrvRecord |
withWeight(Integer weight)
Set the weight property: The weight value for this SRV record.
|
public Integer priority()
public SrvRecord withPriority(Integer priority)
priority - the priority value to set.public Integer weight()
public SrvRecord withWeight(Integer weight)
weight - the weight value to set.public Integer port()
public SrvRecord withPort(Integer port)
port - the port value to set.public String target()
public SrvRecord withTarget(String target)
target - the target value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.