net.degreedays.api
Class ResponseMetadata.Builder

java.lang.Object
  extended by net.degreedays.api.ResponseMetadata.Builder
Enclosing class:
ResponseMetadata

public static final class ResponseMetadata.Builder
extends java.lang.Object

A builder class for creating immutable ResponseMetadata objects e.g. for testing purposes.

Instances of this builder class are designed for single-threaded use only. It's fine to create and use instances in multiple concurrent threads, but, in the absence of external synchronization, the use of each individual builder instance should be restricted to one thread only.


Constructor Summary
ResponseMetadata.Builder()
           
 
Method Summary
 ResponseMetadata build()
           
 ResponseMetadata.Builder setRateLimit(RateLimit rateLimit)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseMetadata.Builder

public ResponseMetadata.Builder()
Method Detail

setRateLimit

public ResponseMetadata.Builder setRateLimit(RateLimit rateLimit)

build

public ResponseMetadata build()


www.degreedays.net/api/