@ApiType("SoftLayer_Dns_Domain_ResourceRecord_SrvType")
public class SrvType
extends ResourceRecord
SoftLayer_Dns_Domain_ResourceRecord_SrvType is a SoftLayer_Dns_Domain_ResourceRecord object whose ''type'' property is set to "srv" and defines a DNS SRV record on a SoftLayer hosted domain.
See Also:
SoftLayer_Dns_Domain_ResourceRecord_SrvType
  • Field Details

    • port

      @ApiProperty(canBeNullOrNotSet=true) protected Long port
      The TCP or UDP port on which the service is to be found.
    • portSpecified

      protected boolean portSpecified
    • priority

      @ApiProperty(canBeNullOrNotSet=true) protected Long priority
      The priority of the target host, lower value means more preferred.
    • prioritySpecified

      protected boolean prioritySpecified
    • protocol

      @ApiProperty(canBeNullOrNotSet=true) protected String protocol
      The protocol of the desired service; this is usually either TCP or UDP.
    • protocolSpecified

      protected boolean protocolSpecified
    • service

      @ApiProperty(canBeNullOrNotSet=true) protected String service
      The symbolic name of the desired service
    • serviceSpecified

      protected boolean serviceSpecified
    • weight

      @ApiProperty(canBeNullOrNotSet=true) protected Long weight
      A relative weight for records with the same priority.
    • weightSpecified

      protected boolean weightSpecified
  • Constructor Details

    • SrvType

      public SrvType()
  • Method Details

    • getPort

      public Long getPort()
    • setPort

      public void setPort​(Long port)
    • isPortSpecified

      public boolean isPortSpecified()
    • unsetPort

      public void unsetPort()
    • getPriority

      public Long getPriority()
    • setPriority

      public void setPriority​(Long priority)
    • isPrioritySpecified

      public boolean isPrioritySpecified()
    • unsetPriority

      public void unsetPriority()
    • getProtocol

      public String getProtocol()
    • setProtocol

      public void setProtocol​(String protocol)
    • isProtocolSpecified

      public boolean isProtocolSpecified()
    • unsetProtocol

      public void unsetProtocol()
    • getService

      public String getService()
    • setService

      public void setService​(String service)
    • isServiceSpecified

      public boolean isServiceSpecified()
    • unsetService

      public void unsetService()
    • getWeight

      public Long getWeight()
    • setWeight

      public void setWeight​(Long weight)
    • isWeightSpecified

      public boolean isWeightSpecified()
    • unsetWeight

      public void unsetWeight()
    • asService

      public SrvType.Service asService​(ApiClient client)
      Overrides:
      asService in class ResourceRecord
    • service

      public static SrvType.Service service​(ApiClient client)
    • service

      public static SrvType.Service service​(ApiClient client, Long id)