Class SrvRecord

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

public class SrvRecord extends Object
An SRV record.
  • Constructor Details

    • SrvRecord

      public SrvRecord()
  • Method Details

    • 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
    • withTarget

      public SrvRecord withTarget(String target)
      Set the target value.
      Parameters:
      target - the target value to set
      Returns:
      the SrvRecord object itself.