Class InfoQueryParams.Builder
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder<P,B>
-
- com.cheetahdigital.corekit.rest.params.BaseListQueryParams.BaseListQueryBuilder<InfoQueryParams,InfoQueryParams.Builder>
-
- com.cheetahdigital.corekit.authentication.core.api.InfoQueryParams.Builder
-
- Enclosing class:
- InfoQueryParams
public static final class InfoQueryParams.Builder extends BaseListQueryParams.BaseListQueryBuilder<InfoQueryParams,InfoQueryParams.Builder>
Builder class forInfoQueryParams
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder
mQueryParams
-
-
Constructor Summary
Constructors Constructor Description Builder()
Default constructorBuilder(InfoQueryParams queryParams)
Create a builder class from an existingInfoQueryParams
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InfoQueryParams
createQueryParams()
Instantiates the implementation classInfoQueryParams.Builder
setClientId(java.lang.String clientId)
Set the client id of the environmentInfoQueryParams.Builder
setClientSecret(java.lang.String clientSecret)
Set the client secret of the environment-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseListQueryParams.BaseListQueryBuilder
addCategories, addCategory, setItemsPerPage, setLayout, setPage, setSortBy, setSortOrder
-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder
build, setId
-
-
-
-
Constructor Detail
-
Builder
public Builder(InfoQueryParams queryParams)
Create a builder class from an existingInfoQueryParams
- Parameters:
queryParams
- instance ofInfoQueryParams
containing all parameters to be used
-
Builder
public Builder()
Default constructor
-
-
Method Detail
-
createQueryParams
protected InfoQueryParams createQueryParams()
Description copied from class:BaseParams.BaseBuilder
Instantiates the implementation class- Specified by:
createQueryParams
in classBaseParams.BaseBuilder<InfoQueryParams,InfoQueryParams.Builder>
- Returns:
- implementation class of
BaseParams.BaseBuilder
-
setClientId
public InfoQueryParams.Builder setClientId(@Nullable java.lang.String clientId)
Set the client id of the environment- Parameters:
clientId
- client id of the environment- Returns:
- The Builder object to allow for chaining calls to set/add methods
-
setClientSecret
public InfoQueryParams.Builder setClientSecret(@Nullable java.lang.String clientSecret)
Set the client secret of the environment- Parameters:
clientSecret
- client secret of the environment- Returns:
- The Builder object to allow for chaining calls to set/add methods
-
-