Class AgentFileNotProcessedWarningBuilder
java.lang.Object
com.commercetools.api.models.agent.AgentFileNotProcessedWarningBuilder
- All Implemented Interfaces:
Builder<AgentFileNotProcessedWarning>
public class AgentFileNotProcessedWarningBuilder
extends Object
implements Builder<AgentFileNotProcessedWarning>
AgentFileNotProcessedWarningBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AgentFileNotProcessedWarning agentFileNotProcessedWarning = AgentFileNotProcessedWarning.builder()
.message("{message}")
.fileName("{fileName}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds AgentFileNotProcessedWarning with checking for non-null required valuesbuilds AgentFileNotProcessedWarning without checking for non-null required valuesName of the file that failed to parse.Name of the file that failed to parse.Plain text description of why the file could not be parsed.Plain text description of why the file could not be parsed.of()factory method for an instance of AgentFileNotProcessedWarningBuilderof(AgentFileNotProcessedWarning template) create builder for AgentFileNotProcessedWarning instance
-
Constructor Details
-
AgentFileNotProcessedWarningBuilder
public AgentFileNotProcessedWarningBuilder()
-
-
Method Details
-
message
Plain text description of why the file could not be parsed.
- Parameters:
message- value to be set- Returns:
- Builder
-
fileName
Name of the file that failed to parse.
- Parameters:
fileName- value to be set- Returns:
- Builder
-
getMessage
Plain text description of why the file could not be parsed.
- Returns:
- message
-
getFileName
Name of the file that failed to parse.
- Returns:
- fileName
-
build
builds AgentFileNotProcessedWarning with checking for non-null required values- Specified by:
buildin interfaceBuilder<AgentFileNotProcessedWarning>- Returns:
- AgentFileNotProcessedWarning
-
buildUnchecked
builds AgentFileNotProcessedWarning without checking for non-null required values- Returns:
- AgentFileNotProcessedWarning
-
of
factory method for an instance of AgentFileNotProcessedWarningBuilder- Returns:
- builder
-
of
create builder for AgentFileNotProcessedWarning instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-