public class Destination extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Destination.Builder
Class to build instances of
Destination. |
| Constructor and Description |
|---|
Destination(String type,
String id)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId()
Getter for Id.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
Destination.Builder |
toBuilder()
Builds a new
Destination.Builder object. |
String |
toString()
Converts this Destination into string format.
|
public String getType()
public String getId()
public String toString()
public Destination.Builder toBuilder()
Destination.Builder object.
Creates the instance with the state of the current model.Destination.Builder objectCopyright © 2022. All rights reserved.