@BuilderPattern(role=BUILDER) public static final class Banana.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
Banana |
build() |
Banana.Builder |
withApplicationToken(String applicationToken)
Set the Token ID created from the Aroma App.
|
Banana.Builder |
withAsyncExecutorService(ExecutorService executor) |
Banana.Builder |
withEndpoint(String hostname,
int port) |
public Banana.Builder withApplicationToken(@Required String applicationToken) throws IllegalArgumentException
applicationToken - IllegalArgumentExceptionpublic Banana.Builder withEndpoint(@NonEmpty String hostname, int port) throws IllegalArgumentException
IllegalArgumentExceptionpublic Banana.Builder withAsyncExecutorService(@Required ExecutorService executor) throws IllegalArgumentException
IllegalArgumentExceptionpublic Banana build() throws IllegalStateException
IllegalStateExceptionCopyright © 2015–2016 RedRoma. All rights reserved.