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