Package com.softlayer.api.service.dns
Class Secondary
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.dns.Secondary
-
@ApiType("SoftLayer_Dns_Secondary") public class Secondary extends Entity
The SoftLayer_Dns_Secondary data type contains information on a single secondary DNS zone which is managed through SoftLayer's zone transfer service. Domains created via zone transfer may not be modified by the SoftLayer portal or API.- See Also:
- SoftLayer_Dns_Secondary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Secondary.Mask
static interface
Secondary.Service
SoftLayer's secondary DNS service allows you to use SoftLayer's name servers as a secondary server to your domain's name servers.static interface
Secondary.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The SoftLayer account that owns a secondary DNS record.protected GregorianCalendar
createDate
The date a secondary DNS record was created.protected boolean
createDateSpecified
protected Domain
domain
The domain record created by zone transfer from a secondary DNS record.protected Long
errorMessageCount
A count of the error messages created during secondary DNS record transfer.protected List<Message>
errorMessages
The error messages created during secondary DNS record transfer.protected Long
id
The internal identifier for a secondary DNS record.protected boolean
idSpecified
protected GregorianCalendar
lastUpdate
The date when the most recent secondary DNS zone transfer took place.protected boolean
lastUpdateSpecified
protected String
masterIpAddress
The IP address of the master name server where a secondary DNS zone is transferred from.protected boolean
masterIpAddressSpecified
protected Status
status
The current status of the secondary DNS zone.protected Long
statusId
The current status of a secondary DNS record.protected boolean
statusIdSpecified
protected String
statusText
The textual representation of a secondary DNS zone's status.protected boolean
statusTextSpecified
protected Long
transferFrequency
How often a secondary DNS zone should be transferred in minutes.protected boolean
transferFrequencySpecified
protected String
zoneName
The name of the zone that is transferred.protected boolean
zoneNameSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Secondary()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The SoftLayer account that owns a secondary DNS record.
-
domain
@ApiProperty protected Domain domain
The domain record created by zone transfer from a secondary DNS record.
-
errorMessages
@ApiProperty protected List<Message> errorMessages
The error messages created during secondary DNS record transfer.
-
status
@ApiProperty protected Status status
The current status of the secondary DNS zone.
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date a secondary DNS record was created.
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The internal identifier for a secondary DNS record.
-
idSpecified
protected boolean idSpecified
-
lastUpdate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar lastUpdate
The date when the most recent secondary DNS zone transfer took place.
-
lastUpdateSpecified
protected boolean lastUpdateSpecified
-
masterIpAddress
@ApiProperty(canBeNullOrNotSet=true) protected String masterIpAddress
The IP address of the master name server where a secondary DNS zone is transferred from.
-
masterIpAddressSpecified
protected boolean masterIpAddressSpecified
-
statusId
@ApiProperty(canBeNullOrNotSet=true) protected Long statusId
The current status of a secondary DNS record. The status may be one of the following:
:*'''0''': Disabled
:*'''1''': Active
:*'''2''': Transfer Now
:*'''3''': An error occurred that prevented the zone transfer from being completed.
-
statusIdSpecified
protected boolean statusIdSpecified
-
statusText
@ApiProperty(canBeNullOrNotSet=true) protected String statusText
The textual representation of a secondary DNS zone's status.
-
statusTextSpecified
protected boolean statusTextSpecified
-
transferFrequency
@ApiProperty(canBeNullOrNotSet=true) protected Long transferFrequency
How often a secondary DNS zone should be transferred in minutes.
-
transferFrequencySpecified
protected boolean transferFrequencySpecified
-
zoneName
@ApiProperty(canBeNullOrNotSet=true) protected String zoneName
The name of the zone that is transferred.
-
zoneNameSpecified
protected boolean zoneNameSpecified
-
errorMessageCount
@ApiProperty protected Long errorMessageCount
A count of the error messages created during secondary DNS record transfer.
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getDomain
public Domain getDomain()
-
setDomain
public void setDomain(Domain domain)
-
getStatus
public Status getStatus()
-
setStatus
public void setStatus(Status status)
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getLastUpdate
public GregorianCalendar getLastUpdate()
-
setLastUpdate
public void setLastUpdate(GregorianCalendar lastUpdate)
-
isLastUpdateSpecified
public boolean isLastUpdateSpecified()
-
unsetLastUpdate
public void unsetLastUpdate()
-
getMasterIpAddress
public String getMasterIpAddress()
-
setMasterIpAddress
public void setMasterIpAddress(String masterIpAddress)
-
isMasterIpAddressSpecified
public boolean isMasterIpAddressSpecified()
-
unsetMasterIpAddress
public void unsetMasterIpAddress()
-
getStatusId
public Long getStatusId()
-
setStatusId
public void setStatusId(Long statusId)
-
isStatusIdSpecified
public boolean isStatusIdSpecified()
-
unsetStatusId
public void unsetStatusId()
-
getStatusText
public String getStatusText()
-
setStatusText
public void setStatusText(String statusText)
-
isStatusTextSpecified
public boolean isStatusTextSpecified()
-
unsetStatusText
public void unsetStatusText()
-
getTransferFrequency
public Long getTransferFrequency()
-
setTransferFrequency
public void setTransferFrequency(Long transferFrequency)
-
isTransferFrequencySpecified
public boolean isTransferFrequencySpecified()
-
unsetTransferFrequency
public void unsetTransferFrequency()
-
getZoneName
public String getZoneName()
-
setZoneName
public void setZoneName(String zoneName)
-
isZoneNameSpecified
public boolean isZoneNameSpecified()
-
unsetZoneName
public void unsetZoneName()
-
getErrorMessageCount
public Long getErrorMessageCount()
-
setErrorMessageCount
public void setErrorMessageCount(Long errorMessageCount)
-
asService
public Secondary.Service asService(ApiClient client)
-
service
public static Secondary.Service service(ApiClient client)
-
service
public static Secondary.Service service(ApiClient client, Long id)
-
-