public class EndPoint extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
String |
getNamespace() |
Map<String,String> |
getProperties() |
int |
hashCode() |
static EndPoint |
of(String name)
Return the EndPoint as defined by the provided name.
|
static EndPoint |
of(String namespace,
String name)
Return the EndPoint as defined by the provided namespace and name.
|
static EndPoint |
of(String namespace,
String name,
Map<String,String> properties)
Return the EndPoint as defined by the provided namespace, name and properties.
|
String |
toString() |
@Nullable public String getNamespace()
null
is returned. Also, in the case where in a pipeline a field is dropped, the
dropped EndPointField is mapped to a blank EndPointField with namespace set to null.@Nullable public String getName()
EndPoint
Name can be null in the case where in a pipeline a
field is dropped, and the dropped EndPointField is mapped to a blank EndPointField with
name set to null.public Map<String,String> getProperties()
EndPoint
. e.g. locationpublic static EndPoint of(String name)
name
- the name of the EndPointpublic static EndPoint of(String namespace, String name)
namespace
- the name of the namespacename
- the name of the EndPointpublic static EndPoint of(String namespace, String name, Map<String,String> properties)
namespace
- the name of the namespacename
- the name of the EndPointproperties
- the properties of the EndPoint. e.g. locationCopyright © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.