Class InvalidCredentialsErrorBuilder
java.lang.Object
com.commercetools.importapi.models.errors.InvalidCredentialsErrorBuilder
- All Implemented Interfaces:
Builder<InvalidCredentialsError>
public class InvalidCredentialsErrorBuilder
extends Object
implements Builder<InvalidCredentialsError>
InvalidCredentialsErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InvalidCredentialsError invalidCredentialsError = InvalidCredentialsError.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds InvalidCredentialsError with checking for non-null required valuesbuilds InvalidCredentialsError without checking for non-null required valuesvalue of message}set the value to the messageof()
factory method for an instance of InvalidCredentialsErrorBuilderof
(InvalidCredentialsError template) create builder for InvalidCredentialsError instance
-
Constructor Details
-
InvalidCredentialsErrorBuilder
public InvalidCredentialsErrorBuilder()
-
-
Method Details
-
message
set the value to the message- Parameters:
message
- value to be set- Returns:
- Builder
-
getMessage
value of message}- Returns:
- message
-
build
builds InvalidCredentialsError with checking for non-null required values- Specified by:
build
in interfaceBuilder<InvalidCredentialsError>
- Returns:
- InvalidCredentialsError
-
buildUnchecked
builds InvalidCredentialsError without checking for non-null required values- Returns:
- InvalidCredentialsError
-
of
factory method for an instance of InvalidCredentialsErrorBuilder- Returns:
- builder
-
of
create builder for InvalidCredentialsError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-