Class MxType
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.dns.domain.ResourceRecord
-
- com.softlayer.api.service.dns.domain.resourcerecord.MxType
-
@ApiType("SoftLayer_Dns_Domain_ResourceRecord_MxType") public class MxType extends ResourceRecord
SoftLayer_Dns_Domain_ResourceRecord_MxType is a SoftLayer_Dns_Domain_ResourceRecord object whose ''type'' property is set to "mx" and used to describe MX resource records. MX records control which hosts are responsible as mail exchangers for a domain. For instance, in the domain example.org, an MX record whose host is "@" and data is "mail" says that the host "mail.example.org" is responsible for handling mail for example.org. That means mail sent to users @example.org are delivered to mail.example.org.
Domains can have more than one MX record if it uses more than one server to send mail through. Multiple MX records are denoted by their priority, defined by the mxPriority property.
MX records must be defined for hosts with accompanying A or AAAA resource records. They may not point mail towards a host defined by a CNAME record.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MxType.Mask
static interface
MxType.Service
The SoftLayer_Dns_Domain_ResourceRecord_MxType service controls the creation, modification, and deletion of MX records within a domain hosted on SoftLayer's DNS servers.static interface
MxType.ServiceAsync
-
Field Summary
-
Fields inherited from class com.softlayer.api.service.dns.domain.ResourceRecord
data, dataSpecified, domain, domainId, domainIdSpecified, expire, expireSpecified, host, hostSpecified, id, idSpecified, minimum, minimumSpecified, mxPriority, mxPrioritySpecified, refresh, refreshSpecified, responsiblePerson, responsiblePersonSpecified, retry, retrySpecified, ttl, ttlSpecified, type, typeSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description MxType()
-
Method Summary
Modifier and Type Method Description MxType.Service
asService(ApiClient client)
static MxType.Service
service(ApiClient client)
static MxType.Service
service(ApiClient client, Long id)
-
Methods inherited from class com.softlayer.api.service.dns.domain.ResourceRecord
getData, getDomain, getDomainId, getExpire, getHost, getId, getMinimum, getMxPriority, getRefresh, getResponsiblePerson, getRetry, getTtl, getType, isDataSpecified, isDomainIdSpecified, isExpireSpecified, isHostSpecified, isIdSpecified, isMinimumSpecified, isMxPrioritySpecified, isRefreshSpecified, isResponsiblePersonSpecified, isRetrySpecified, isTtlSpecified, isTypeSpecified, setData, setDomain, setDomainId, setExpire, setHost, setId, setMinimum, setMxPriority, setRefresh, setResponsiblePerson, setRetry, setTtl, setType, unsetData, unsetDomainId, unsetExpire, unsetHost, unsetId, unsetMinimum, unsetMxPriority, unsetRefresh, unsetResponsiblePerson, unsetRetry, unsetTtl, unsetType
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Method Detail
-
asService
public MxType.Service asService(ApiClient client)
- Overrides:
asService
in classResourceRecord
-
service
public static MxType.Service service(ApiClient client)
-
service
public static MxType.Service service(ApiClient client, Long id)
-
-