Class RecordFunctions
- java.lang.Object
-
- org.jclouds.rackspace.clouddns.v1.functions.RecordFunctions
-
public class RecordFunctions extends Object
Functions for working with Records.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.Function<RecordDetail,Record>
GET_RECORD
Take a RecordDetail and return its Record.static com.google.common.base.Function<RecordDetail,String>
GET_RECORD_ID
Take a RecordDetail and return its id.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Record>
toRecordMap(Set<RecordDetail> recordDetails)
Take a Set of RecordDetails and return a Map of record id to the Record.
-
-
-
Field Detail
-
GET_RECORD_ID
public static final com.google.common.base.Function<RecordDetail,String> GET_RECORD_ID
Take a RecordDetail and return its id.
-
GET_RECORD
public static final com.google.common.base.Function<RecordDetail,Record> GET_RECORD
Take a RecordDetail and return its Record.
-
-
Method Detail
-
toRecordMap
public static Map<String,Record> toRecordMap(Set<RecordDetail> recordDetails)
Take a Set of RecordDetails and return a Map of record id to the Record.
-
-