Interface ManagementRequestBuilder
public interface ManagementRequestBuilder
Interface defining the Management request builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
returns an instance of a ManagementRequest which was constructed using the builder.withOperationType
(oracle.communication.brm.charging.messages.management.Management operationType) sets the operation type for this ManagementRequestwithOriginNetwork
(String originNetwork) Builds ManagementRequest with specified ProductTypewithProductType
(String productType) Builds ManagementRequest with specified ProductType
-
Method Details
-
withOperationType
ManagementRequestBuilder withOperationType(oracle.communication.brm.charging.messages.management.Management operationType) sets the operation type for this ManagementRequest- Parameters:
operationType
- initiate, update, terminate- Returns:
- the current builder to support chaining construct.
-
withProductType
Builds ManagementRequest with specified ProductType- Parameters:
productType
- ProductType- Returns:
- ManagementRequestBuilder
-
withOriginNetwork
Builds ManagementRequest with specified ProductType- Parameters:
originNetwork
- ProductType- Returns:
- ManagementRequestBuilder
-
build
returns an instance of a ManagementRequest which was constructed using the builder.- Returns:
- an instance of a ManagementRequest created using the builder
- Throws:
MessagesManagementException
- if ServiceSpec contract was violated in any manner.
-