public class Destination extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Destination.DestinationType
Enumeration of supported destination types.
|
| Modifier and Type | Method and Description |
|---|---|
State |
getProperties()
Get configuration properties for the destination type.
|
Destination.DestinationType |
getType()
Get the destination type.
|
static Destination |
of(Destination.DestinationType type,
State properties)
Create a new
Destination instance. |
public Destination.DestinationType getType()
public State getProperties()
public static Destination of(Destination.DestinationType type, State properties)
Destination instance.type - destination typeproperties - destination propertiesDestination instance