Class RecordSet (2.35.0)

  public 
  
 final 
  
 class 
 RecordSet 
  
 implements 
  
 Serializable 
 

A class that represents a Google Cloud DNS record set.

A RecordSet is the unit of data that will be returned by the DNS servers upon a DNS request for a specific domain. The RecordSet holds the current state of the DNS records that make up a zone. You can read the records but you cannot modify them directly. Rather, you edit the records in a zone by creating a ChangeRequest . See Also: Google Cloud DNS documentation

Inheritance

Object > RecordSet

Implements

Serializable

Static Methods

newBuilder(String name, RecordSet.Type type)

  public 
  
 static 
  
 RecordSet 
 . 
 Builder 
  
 newBuilder 
 ( 
 String 
  
 name 
 , 
  
 RecordSet 
 . 
 Type 
  
 type 
 ) 
 

Creates a RecordSet builder for the given name and type .

Parameters
Name
Description
name
Returns
Type
Description

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getName()

  public 
  
 String 
  
 getName 
 () 
 

Returns the user-assigned name of this record set.

Returns
Type
Description

getRecords()

  public 
  
 List<String> 
  
 getRecords 
 () 
 

Returns a list of records stored in this record set.

Returns
Type
Description
List < String >

getTtl()

  public 
  
 Integer 
  
 getTtl 
 () 
 

Returns the number of seconds that this record set can be cached by resolvers.

Returns
Type
Description

getType()

  public 
  
 RecordSet 
 . 
 Type 
  
 getType 
 () 
 

Returns the type of this record set.

Returns
Type
Description

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

toBuilder()

  public 
  
 RecordSet 
 . 
 Builder 
  
 toBuilder 
 () 
 

Creates a builder pre-populated with the attribute values of this instance.

Returns
Type
Description

toString()

  public 
  
 String 
  
 toString 
 () 
 
Returns
Type
Description
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: