Class AgentStoreDistributionChannelsUnsupportedErrorBuilder
java.lang.Object
com.commercetools.api.models.agent.AgentStoreDistributionChannelsUnsupportedErrorBuilder
- All Implemented Interfaces:
Builder<AgentStoreDistributionChannelsUnsupportedError>
public class AgentStoreDistributionChannelsUnsupportedErrorBuilder
extends Object
implements Builder<AgentStoreDistributionChannelsUnsupportedError>
AgentStoreDistributionChannelsUnsupportedErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AgentStoreDistributionChannelsUnsupportedError agentStoreDistributionChannelsUnsupportedError = AgentStoreDistributionChannelsUnsupportedError.builder()
.message("{message}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()builds AgentStoreDistributionChannelsUnsupportedError with checking for non-null required valuesbuilds AgentStoreDistributionChannelsUnsupportedError without checking for non-null required valuesPlain text description of the error.Error-specific additional fields.Plain text description of the error.of()factory method for an instance of AgentStoreDistributionChannelsUnsupportedErrorBuildercreate builder for AgentStoreDistributionChannelsUnsupportedError instanceError-specific additional fields.
-
Constructor Details
-
AgentStoreDistributionChannelsUnsupportedErrorBuilder
public AgentStoreDistributionChannelsUnsupportedErrorBuilder()
-
-
Method Details
-
message
Plain text description of the error.
- Parameters:
message- value to be set- Returns:
- Builder
-
values
Error-specific additional fields.
- Parameters:
values- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key- property namevalue- property value- Returns:
- Builder
-
getMessage
Plain text description of the error.
- Returns:
- message
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds AgentStoreDistributionChannelsUnsupportedError with checking for non-null required values- Specified by:
buildin interfaceBuilder<AgentStoreDistributionChannelsUnsupportedError>- Returns:
- AgentStoreDistributionChannelsUnsupportedError
-
buildUnchecked
builds AgentStoreDistributionChannelsUnsupportedError without checking for non-null required values- Returns:
- AgentStoreDistributionChannelsUnsupportedError
-
of
factory method for an instance of AgentStoreDistributionChannelsUnsupportedErrorBuilder- Returns:
- builder
-
of
public static AgentStoreDistributionChannelsUnsupportedErrorBuilder of(AgentStoreDistributionChannelsUnsupportedError template) create builder for AgentStoreDistributionChannelsUnsupportedError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-