Package com.ibm.fhir.audit.cadf
Class CadfEndpoint
- java.lang.Object
-
- com.ibm.fhir.audit.cadf.CadfEndpoint
-
public final class CadfEndpoint extends java.lang.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(java.lang.String url, java.lang.String name, java.lang.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()
java.lang.String
getName()
java.lang.String
getPort()
java.lang.String
getUrl()
-
-
-
Constructor Detail
-
CadfEndpoint
public CadfEndpoint(java.lang.String url, java.lang.String name, java.lang.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 java.lang.String getUrl()
-
getName
public java.lang.String getName()
-
getPort
public java.lang.String getPort()
-
builder
public static CadfEndpoint.Builder builder()
-
-