Class InvalidScopeErrorBuilder
java.lang.Object
com.commercetools.importapi.models.errors.InvalidScopeErrorBuilder
- All Implemented Interfaces:
Builder<InvalidScopeError>
InvalidScopeErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InvalidScopeError invalidScopeError = InvalidScopeError.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds InvalidScopeError with checking for non-null required valuesbuilds InvalidScopeError without checking for non-null required valuesvalue of message}set the value to the messagestatic InvalidScopeErrorBuilder
of()
factory method for an instance of InvalidScopeErrorBuilderstatic InvalidScopeErrorBuilder
of
(InvalidScopeError template) create builder for InvalidScopeError instance
-
Constructor Details
-
InvalidScopeErrorBuilder
public InvalidScopeErrorBuilder()
-
-
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 InvalidScopeError with checking for non-null required values- Specified by:
build
in interfaceBuilder<InvalidScopeError>
- Returns:
- InvalidScopeError
-
buildUnchecked
builds InvalidScopeError without checking for non-null required values- Returns:
- InvalidScopeError
-
of
factory method for an instance of InvalidScopeErrorBuilder- Returns:
- builder
-
of
create builder for InvalidScopeError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-