public static class ServiceContext.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ServiceContext |
build()
Takes the configuration in the mutable Builder and uses it to instantiate a final instance
of the ServiceContext class
|
ServiceContext.Builder |
setAccount(ServiceContext.Account account)
Adds a value to the builder for account
|
ServiceContext.Builder |
setBrand(ServiceContext.Brand brand)
Adds a value to the builder for brand
|
ServiceContext.Builder |
setPartner(ServiceContext.Partner partner)
Adds a value to the builder for partner
|
ServiceContext.Builder |
setSuperAdmin(ServiceContext.SuperAdmin superAdmin)
Adds a value to the builder for superAdmin
|
public ServiceContext.Builder setAccount(ServiceContext.Account account)
account - Value to assign to the mutable Builderpublic ServiceContext.Builder setPartner(ServiceContext.Partner partner)
partner - Value to assign to the mutable Builderpublic ServiceContext.Builder setSuperAdmin(ServiceContext.SuperAdmin superAdmin)
superAdmin - Value to assign to the mutable Builderpublic ServiceContext.Builder setBrand(ServiceContext.Brand brand)
brand - Value to assign to the mutable Builderpublic ServiceContext build()
Copyright © 2021. All rights reserved.