SrvRecord Class

  • java.lang.Object
    • com.microsoft.azure.management.dns.SrvRecord

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.

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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SrvRecord

public SrvRecord()

Method Details

port

public Integer port()

Get the port value.

Returns:

the port value

priority

public Integer priority()

Get the priority value.

Returns:

the priority value

target

public String target()

Get the target value.

Returns:

the target value

weight

public Integer weight()

Get the weight value.

Returns:

the weight value

withPort

public SrvRecord withPort(Integer port)

Set the port value.

Parameters:

port - the port value to set

Returns:

the SrvRecord object itself.

withPriority

public SrvRecord withPriority(Integer priority)

Set the priority value.

Parameters:

priority - the priority value to set

Returns:

the SrvRecord object itself.

withTarget

public SrvRecord withTarget(String target)

Set the target value.

Parameters:

target - the target value to set

Returns:

the SrvRecord object itself.

withWeight

public SrvRecord withWeight(Integer weight)

Set the weight value.

Parameters:

weight - the weight value to set

Returns:

the SrvRecord object itself.

Applies to