Package com.ibm.fhir.audit.cadf
Class CadfEndpoint
- java.lang.Object
-
- com.ibm.fhir.audit.cadf.CadfEndpoint
-
public final class CadfEndpoint extends Object
Representation of the CADF Endpoint object. The Endpoint type is used to provide information about a resource's location on a network
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCadfEndpoint.BuilderBuilder is a convenience pattern to assemble to Java Objectstatic classCadfEndpoint.ParserParserstatic classCadfEndpoint.WriterGenerates JSON from this object.
-
Constructor Summary
Constructors Constructor Description CadfEndpoint(String url, String name, String port)Construct a CADF Endpoint object
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CadfEndpoint.Builderbuilder()StringgetName()StringgetPort()StringgetUrl()
-
-
-
Constructor Detail
-
CadfEndpoint
public CadfEndpoint(String url, String name, String port)
Construct a CADF Endpoint object- Parameters:
url- -- String. Required. The network address of the endpoint; for IP-based addresses. Note: The IP address value may include the port number as part of the syntax as an alternative to separating it out into the optional port attributename- - String. Optional. Provides a logical name for the object.port- - String. Optional. An optional property to provide the port value separate from the address property, intended to facilitate a consistent means to query resource information on a specific port.
-
-
Method Detail
-
getUrl
public String getUrl()
-
getName
public String getName()
-
getPort
public String getPort()
-
builder
public static CadfEndpoint.Builder builder()
-
-