public class SrvRecord extends Object
Constructor and Description |
---|
SrvRecord() |
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.
|
SrvRecord |
withPort(Integer port)
Set the port value.
|
SrvRecord |
withPriority(Integer priority)
Set the priority value.
|
SrvRecord |
withTarget(String target)
Set the target value.
|
SrvRecord |
withWeight(Integer weight)
Set the weight value.
|
public Integer priority()
public SrvRecord withPriority(Integer priority)
priority
- the priority value to setpublic Integer weight()
public SrvRecord withWeight(Integer weight)
weight
- the weight value to setpublic Integer port()
public SrvRecord withPort(Integer port)
port
- the port value to setpublic String target()
Copyright © 2019. All rights reserved.