@Deprecated public static class DeprecatedContext.Builder extends Object
DeprecatedContext.| 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 attribute
accessToken. |
DeprecatedContext.Builder |
setLanguage(Locale pLanguage)
Deprecated.
Method sets attribute
language. |
DeprecatedContext.Builder |
setQueryParam(String pQueryParam)
Deprecated.
Method sets attribute
queryParam. |
DeprecatedContext.Builder |
setResellerID(long pResellerID)
Deprecated.
Method sets 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)
accessToken.pAccessToken - Value to which accessToken should be set.DeprecatedContext.Builder Instance of this builder to support chaining setters. Method never returns null.public DeprecatedContext.Builder setLanguage(Locale pLanguage)
language.pLanguage - Value to which language should be set.DeprecatedContext.Builder Instance of this builder to support chaining setters. Method never returns null.public DeprecatedContext.Builder setResellerID(long pResellerID)
resellerID.pResellerID - Value to which resellerID should be set.DeprecatedContext.Builder Instance of this builder to support chaining setters. Method never returns null.public DeprecatedContext.Builder setQueryParam(String pQueryParam)
queryParam.pQueryParam - Value to which queryParam should be set.DeprecatedContext.Builder Instance of this builder to support chaining setters. Method never returns null.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 © 2023. All rights reserved.