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 valuesA plain language description of the cause of an error.A plain language description of the cause of an error.of()
factory method for an instance of InvalidCredentialsErrorBuilderof
(InvalidCredentialsError template) create builder for InvalidCredentialsError instance
-
Constructor Details
-
InvalidCredentialsErrorBuilder
public InvalidCredentialsErrorBuilder()
-
-
Method Details
-
message
A plain language description of the cause of an error.
- Parameters:
message
- value to be set- Returns:
- Builder
-
getMessage
A plain language description of the cause of an error.
- 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
-