@Deprecated public static class DeprecatedContext.Builder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Deprecated.
Use
DeprecatedContext.builder() instead of private constructor to create new builder. |
protected |
Builder(DeprecatedContext pObject)
Deprecated.
Use
DeprecatedContext.builder(DeprecatedContext) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
DeprecatedContext |
build()
Deprecated.
Method creates a new instance of class DeprecatedContext.
|
DeprecatedContext |
buildValidated()
Deprecated.
Method creates a new validated instance of class DeprecatedContext.
|
DeprecatedContext.Builder |
setAccessToken(String pAccessToken)
Deprecated.
Method sets the attribute "accessToken".
|
DeprecatedContext.Builder |
setLanguage(Locale pLanguage)
Deprecated.
Method sets the attribute "language".
|
DeprecatedContext.Builder |
setQueryParam(String pQueryParam)
Deprecated.
Method sets the attribute "queryParam".
|
DeprecatedContext.Builder |
setResellerID(long pResellerID)
Deprecated.
Method sets the attribute "resellerID".
|
protected Builder()
DeprecatedContext.builder() instead of private constructor to create new builder.protected Builder(DeprecatedContext pObject)
DeprecatedContext.builder(DeprecatedContext) instead of private constructor to create new builder.public DeprecatedContext.Builder setAccessToken(String pAccessToken)
pAccessToken - Value to which the attribute "accessToken" should be set.public DeprecatedContext.Builder setLanguage(Locale pLanguage)
pLanguage - Value to which the attribute "language" should be set.public DeprecatedContext.Builder setResellerID(long pResellerID)
pResellerID - Value to which the attribute "resellerID" should be set.public DeprecatedContext.Builder setQueryParam(String pQueryParam)
pQueryParam - Value to which the attribute "queryParam" should be set.public DeprecatedContext build()
public DeprecatedContext buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.