Class ResourceRecord
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.ResourceRecord
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ResourceRecord extends com.ibm.cloud.sdk.core.service.model.GenericModel
Resource record details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ResourceRecord.Type
Type of the resource record.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedOn()
Gets the createdOn.String
getId()
Gets the id.Date
getModifiedOn()
Gets the modifiedOn.String
getName()
Gets the name.String
getProtocol()
Gets the protocol.Map<String,Object>
getRdata()
Gets the rdata.String
getService()
Gets the service.Long
getTtl()
Gets the ttl.String
getType()
Gets the type.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Identifier of the resource record.- Returns:
- the id
-
getCreatedOn
public Date getCreatedOn()
Gets the createdOn. The time when a resource record is created.- Returns:
- the createdOn
-
getModifiedOn
public Date getModifiedOn()
Gets the modifiedOn. The recent time when a resource record is modified.- Returns:
- the modifiedOn
-
getName
public String getName()
Gets the name. Name of the resource record.- Returns:
- the name
-
getType
public String getType()
Gets the type. Type of the resource record.- Returns:
- the type
-
getTtl
public Long getTtl()
Gets the ttl. Time to live in second.- Returns:
- the ttl
-
getRdata
public Map<String,Object> getRdata()
Gets the rdata. Content of the resource record.- Returns:
- the rdata
-
getService
public String getService()
Gets the service. Only used for SRV record.- Returns:
- the service
-
getProtocol
public String getProtocol()
Gets the protocol. Only used for SRV record.- Returns:
- the protocol
-
-