Package com.intercom.api.types
Class NotFoundErrorBody.Builder
- java.lang.Object
-
- com.intercom.api.types.NotFoundErrorBody.Builder
-
- All Implemented Interfaces:
NotFoundErrorBody._FinalStage,NotFoundErrorBody.TypeStage
- Enclosing class:
- NotFoundErrorBody
public static final class NotFoundErrorBody.Builder extends java.lang.Object implements NotFoundErrorBody.TypeStage, NotFoundErrorBody._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotFoundErrorBody._FinalStageaddAllErrors(java.util.List<NotFoundErrorBody.ErrorsItem> errors)An array of one or more error objectsNotFoundErrorBody._FinalStageaddErrors(NotFoundErrorBody.ErrorsItem errors)An array of one or more error objectsNotFoundErrorBodybuild()NotFoundErrorBody._FinalStageerrors(java.util.List<NotFoundErrorBody.ErrorsItem> errors)An array of one or more error objectsNotFoundErrorBody.Builderfrom(NotFoundErrorBody other)NotFoundErrorBody._FinalStagerequestId(java.lang.String requestId)NotFoundErrorBody._FinalStagerequestId(java.util.Optional<java.lang.String> requestId)NotFoundErrorBody._FinalStagetype(java.lang.String type)The type is error.list
-
-
-
Method Detail
-
from
public NotFoundErrorBody.Builder from(NotFoundErrorBody other)
- Specified by:
fromin interfaceNotFoundErrorBody.TypeStage
-
type
public NotFoundErrorBody._FinalStage type(@NotNull java.lang.String type)
The type is error.list
The type is error.list
- Specified by:
typein interfaceNotFoundErrorBody.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllErrors
public NotFoundErrorBody._FinalStage addAllErrors(java.util.List<NotFoundErrorBody.ErrorsItem> errors)
An array of one or more error objects
- Specified by:
addAllErrorsin interfaceNotFoundErrorBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addErrors
public NotFoundErrorBody._FinalStage addErrors(NotFoundErrorBody.ErrorsItem errors)
An array of one or more error objects
- Specified by:
addErrorsin interfaceNotFoundErrorBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
errors
public NotFoundErrorBody._FinalStage errors(java.util.List<NotFoundErrorBody.ErrorsItem> errors)
An array of one or more error objects
- Specified by:
errorsin interfaceNotFoundErrorBody._FinalStage
-
requestId
public NotFoundErrorBody._FinalStage requestId(java.lang.String requestId)
- Specified by:
requestIdin interfaceNotFoundErrorBody._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
requestId
public NotFoundErrorBody._FinalStage requestId(java.util.Optional<java.lang.String> requestId)
- Specified by:
requestIdin interfaceNotFoundErrorBody._FinalStage
-
build
public NotFoundErrorBody build()
- Specified by:
buildin interfaceNotFoundErrorBody._FinalStage
-
-