Class AuthorizationHeaderAuthenticationBuilder
java.lang.Object
com.commercetools.api.models.extension.AuthorizationHeaderAuthenticationBuilder
- All Implemented Interfaces:
Builder<AuthorizationHeaderAuthentication>
- Direct Known Subclasses:
ExtensionAuthorizationHeaderAuthenticationBuilder
public class AuthorizationHeaderAuthenticationBuilder
extends Object
implements Builder<AuthorizationHeaderAuthentication>
AuthorizationHeaderAuthenticationBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AuthorizationHeaderAuthentication authorizationHeaderAuthentication = AuthorizationHeaderAuthentication.builder()
.headerValue("{headerValue}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AuthorizationHeaderAuthentication with checking for non-null required valuesbuilds AuthorizationHeaderAuthentication without checking for non-null required valuesPartially hidden on retrieval for security reasons.headerValue
(String headerValue) Partially hidden on retrieval for security reasons.of()
factory method for an instance of AuthorizationHeaderAuthenticationBuilderof
(AuthorizationHeaderAuthentication template) create builder for AuthorizationHeaderAuthentication instance
-
Constructor Details
-
AuthorizationHeaderAuthenticationBuilder
public AuthorizationHeaderAuthenticationBuilder()
-
-
Method Details
-
headerValue
Partially hidden on retrieval for security reasons.
- Parameters:
headerValue
- value to be set- Returns:
- Builder
-
getHeaderValue
Partially hidden on retrieval for security reasons.
- Returns:
- headerValue
-
build
builds AuthorizationHeaderAuthentication with checking for non-null required values- Specified by:
build
in interfaceBuilder<AuthorizationHeaderAuthentication>
- Returns:
- AuthorizationHeaderAuthentication
-
buildUnchecked
builds AuthorizationHeaderAuthentication without checking for non-null required values- Returns:
- AuthorizationHeaderAuthentication
-
of
factory method for an instance of AuthorizationHeaderAuthenticationBuilder- Returns:
- builder
-
of
public static AuthorizationHeaderAuthenticationBuilder of(AuthorizationHeaderAuthentication template) create builder for AuthorizationHeaderAuthentication instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-