Package com.ibm.fhir.audit.cadf.model
Class CadfEndpoint
- java.lang.Object
-
- com.ibm.fhir.audit.cadf.model.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 class
CadfEndpoint.Builder
Builder is a convenience pattern to assemble to Java Objectstatic class
CadfEndpoint.Parser
Parserstatic class
CadfEndpoint.Writer
Generates 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.Builder
builder()
String
getName()
String
getPort()
String
getUrl()
-
-
-
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()
-
-