public static final class ServiceEndpoint.Builder
extends java.lang.Object
ServiceEndpoint.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ServiceEndpoint. |
| Modifier and Type | Method and Description |
|---|---|
ServiceEndpoint |
build() |
ServiceEndpoint.Builder |
setCertificate(java.lang.String certificate)
Certificate or certificate chain
|
ServiceEndpoint.Builder |
setCertificateSha256Thumbprint(java.lang.String certificateSha256Thumbprint) |
ServiceEndpoint.Builder |
setEntitiesHosted(java.util.List<HostedEntityInfo> entitiesHosted)
List of entities hosted on accessible through the service endpoint
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ServiceEndpoint.Builder |
setFqdn(java.lang.String fqdn) |
ServiceEndpoint.Builder |
setIpAddress(java.lang.String ipAddress)
IPv4 address format: ipv4
|
ServiceEndpoint.Builder |
setIpv6Address(java.lang.String ipv6Address)
IPv6 address format: ipv6
|
ServiceEndpoint.Builder |
setIpv6Fqdn(java.lang.String ipv6Fqdn) |
ServiceEndpoint.Builder |
setPort(java.lang.Long port) |
ServiceEndpoint.Builder |
setServiceEndpointUuid(java.lang.String serviceEndpointUuid)
Unique identifier of this service endpoint
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
ServiceEndpoint.public ServiceEndpoint.Builder setCertificate(java.lang.String certificate)
certificate - New value for the property.public ServiceEndpoint.Builder setCertificateSha256Thumbprint(java.lang.String certificateSha256Thumbprint)
certificateSha256Thumbprint - New value for the property.public ServiceEndpoint.Builder setEntitiesHosted(java.util.List<HostedEntityInfo> entitiesHosted)
entitiesHosted - New value for the property.public ServiceEndpoint.Builder setFqdn(java.lang.String fqdn)
fqdn - New value for the property.public ServiceEndpoint.Builder setIpAddress(java.lang.String ipAddress)
ipAddress - New value for the property.public ServiceEndpoint.Builder setIpv6Address(java.lang.String ipv6Address)
ipv6Address - New value for the property.public ServiceEndpoint.Builder setIpv6Fqdn(java.lang.String ipv6Fqdn)
ipv6Fqdn - New value for the property.public ServiceEndpoint.Builder setPort(java.lang.Long port)
port - New value for the property.public ServiceEndpoint.Builder setServiceEndpointUuid(java.lang.String serviceEndpointUuid)
serviceEndpointUuid - New value for the property.public ServiceEndpoint build()