public static class SpecialContext.Builder extends Context.Builder
SpecialContext.| 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 attribute
Context.accessToken. |
SpecialContext.Builder |
setLanguage(Locale pLanguage)
Method sets attribute
Context.language. |
SpecialContext.Builder |
setPathParam(long pPathParam)
Method sets attribute
Context.pathParam. |
SpecialContext.Builder |
setQueryParam(String pQueryParam)
Method sets attribute
Context.queryParam. |
SpecialContext.Builder |
setResellerID(long pResellerID)
Method sets attribute
Context.resellerID. |
SpecialContext.Builder |
setSpecificHeader(String pSpecificHeader)
Method sets 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)
Context.accessToken.setAccessToken in class Context.BuilderpAccessToken - Value to which Context.accessToken should be set.SpecialContext.Builder Instance of this builder to support chaining setters. Method never returns null.public SpecialContext.Builder setLanguage(Locale pLanguage)
Context.language.setLanguage in class Context.BuilderpLanguage - Value to which Context.language should be set.SpecialContext.Builder Instance of this builder to support chaining setters. Method never returns null.public SpecialContext.Builder setResellerID(long pResellerID)
Context.resellerID.setResellerID in class Context.BuilderpResellerID - Value to which Context.resellerID should be set.SpecialContext.Builder Instance of this builder to support chaining setters. Method never returns null.public SpecialContext.Builder setPathParam(long pPathParam)
Context.pathParam.setPathParam in class Context.BuilderpPathParam - Value to which Context.pathParam should be set.SpecialContext.Builder Instance of this builder to support chaining setters. Method never returns null.public SpecialContext.Builder setQueryParam(String pQueryParam)
Context.queryParam.setQueryParam in class Context.BuilderpQueryParam - Value to which Context.queryParam should be set.SpecialContext.Builder Instance of this builder to support chaining setters. Method never returns null.public SpecialContext.Builder setSpecificHeader(String pSpecificHeader)
specificHeader.pSpecificHeader - Value to which specificHeader should be set.SpecialContext.Builder Instance of this builder to support chaining setters. Method never returns null.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 © 2023. All rights reserved.