Class SrvRecord
- java.lang.Object
-
- com.microsoft.azure.management.dns.SrvRecord
-
public class SrvRecord extends Object
An SRV record.
-
-
Constructor Summary
Constructors Constructor Description SrvRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerport()Get the port value.Integerpriority()Get the priority value.Stringtarget()Get the target value.Integerweight()Get the weight value.SrvRecordwithPort(Integer port)Set the port value.SrvRecordwithPriority(Integer priority)Set the priority value.SrvRecordwithTarget(String target)Set the target value.SrvRecordwithWeight(Integer weight)Set the weight value.
-
-
-
Method Detail
-
priority
public Integer priority()
Get the priority value.- Returns:
- the priority value
-
withPriority
public SrvRecord withPriority(Integer priority)
Set the priority value.- Parameters:
priority- the priority value to set- Returns:
- the SrvRecord object itself.
-
weight
public Integer weight()
Get the weight value.- Returns:
- the weight value
-
withWeight
public SrvRecord withWeight(Integer weight)
Set the weight value.- Parameters:
weight- the weight value to set- Returns:
- the SrvRecord object itself.
-
port
public Integer port()
Get the port value.- Returns:
- the port value
-
withPort
public SrvRecord withPort(Integer port)
Set the port value.- Parameters:
port- the port value to set- Returns:
- the SrvRecord object itself.
-
target
public String target()
Get the target value.- Returns:
- the target value
-
-