Package com.adobe.aio.ims
Class ImsService.Builder
- java.lang.Object
-
- com.adobe.aio.ims.ImsService.Builder
-
- Enclosing interface:
- ImsService
public static class ImsService.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImsService
build()
Builds an IMS Service instance.ImsService.Builder
workspace(Workspace workspace)
Add the workspace context to this builder.
-
-
-
Method Detail
-
workspace
public ImsService.Builder workspace(Workspace workspace)
Add the workspace context to this builder.- Parameters:
workspace
- the workspace context- Returns:
- this builder
-
build
public ImsService build() throws IllegalStateException
Builds an IMS Service instance.- Returns:
- a configured IMS Service
- Throws:
IllegalStateException
- if the Workspace authentication context is not valid.
-
-