Klasse ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder
java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder
- Umschließende Klasse:
ServiceRegistryPublishResponse
public static class ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()description(String description) Represents the status of the publish operation of the API to the service registry eg: Publish successful, Publish failed, etcfailureReason(String failureReason) Provides the reason for the failure when the publish operation is not successfulgatewayEndpoints(Set<Endpoints> gatewayEndpoints) List of API endpoints of the API.serviceRegistryId(String serviceRegistryId) Id i.e, UDDI key of the service registryserviceRegistryName(String serviceRegistryName) Name of the service registryPublish Status of the API for this service registry.Represents whether the publish of API to the service registry is success.toString()
-
Methodendetails
-
description
public ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder description(String description) Represents the status of the publish operation of the API to the service registry eg: Publish successful, Publish failed, etc- Gibt zurück:
this.
-
failureReason
public ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder failureReason(String failureReason) Provides the reason for the failure when the publish operation is not successful- Gibt zurück:
this.
-
gatewayEndpoints
public ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder gatewayEndpoints(Set<Endpoints> gatewayEndpoints) List of API endpoints of the API. Each element contains an endpoint and the information about the publish status of that endpoint for the current service registry.- Gibt zurück:
this.
-
serviceRegistryId
public ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder serviceRegistryId(String serviceRegistryId) Id i.e, UDDI key of the service registry- Gibt zurück:
this.
-
serviceRegistryName
public ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder serviceRegistryName(String serviceRegistryName) Name of the service registry- Gibt zurück:
this.
-
status
public ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder status(ServiceRegistryPublishResponse.StatusEnum status) Publish Status of the API for this service registry. Possible values are NEW, PUBLISHED and SUSPENDED. NEW represents the API is not published to the service registry. PUBLISHED represents the API is published to the service registry. SUSPENDED represents the API is published to service registry, but is not currently active (during deactivation of API or shutdown of API Gateway).- Gibt zurück:
this.
-
success
public ServiceRegistryPublishResponse.ServiceRegistryPublishResponseBuilder success(Boolean success) Represents whether the publish of API to the service registry is success. Possible values: true/false- Gibt zurück:
this.
-
build
-
toString
-