Class CreateOrUpdateCustomObjectInstanceRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.customobjectinstances.requests.CreateOrUpdateCustomObjectInstanceRequest.Builder
-
- All Implemented Interfaces:
CreateOrUpdateCustomObjectInstanceRequest._FinalStage,CreateOrUpdateCustomObjectInstanceRequest.CustomObjectTypeIdentifierStage
- Enclosing class:
- CreateOrUpdateCustomObjectInstanceRequest
public static final class CreateOrUpdateCustomObjectInstanceRequest.Builder extends java.lang.Object implements CreateOrUpdateCustomObjectInstanceRequest.CustomObjectTypeIdentifierStage, CreateOrUpdateCustomObjectInstanceRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOrUpdateCustomObjectInstanceRequestbuild()CreateOrUpdateCustomObjectInstanceRequest._FinalStagecustomAttributes(java.util.Map<java.lang.String,java.util.Optional<java.lang.String>> customAttributes)The custom attributes which are set for the Custom Object instance.CreateOrUpdateCustomObjectInstanceRequest._FinalStagecustomAttributes(java.util.Optional<java.util.Map<java.lang.String,java.util.Optional<java.lang.String>>> customAttributes)The custom attributes which are set for the Custom Object instance.CreateOrUpdateCustomObjectInstanceRequest._FinalStagecustomObjectTypeIdentifier(java.lang.String customObjectTypeIdentifier)The unique identifier of the custom object type that defines the structure of the custom object instance.CreateOrUpdateCustomObjectInstanceRequest._FinalStageexternalCreatedAt(java.lang.Integer externalCreatedAt)The time when the Custom Object instance was created in the external system it originated from.CreateOrUpdateCustomObjectInstanceRequest._FinalStageexternalCreatedAt(java.util.Optional<java.lang.Integer> externalCreatedAt)The time when the Custom Object instance was created in the external system it originated from.CreateOrUpdateCustomObjectInstanceRequest._FinalStageexternalId(java.lang.String externalId)A unique identifier for the Custom Object instance in the external system it originated from.CreateOrUpdateCustomObjectInstanceRequest._FinalStageexternalId(java.util.Optional<java.lang.String> externalId)A unique identifier for the Custom Object instance in the external system it originated from.CreateOrUpdateCustomObjectInstanceRequest._FinalStageexternalUpdatedAt(java.lang.Integer externalUpdatedAt)The time when the Custom Object instance was last updated in the external system it originated from.CreateOrUpdateCustomObjectInstanceRequest._FinalStageexternalUpdatedAt(java.util.Optional<java.lang.Integer> externalUpdatedAt)The time when the Custom Object instance was last updated in the external system it originated from.CreateOrUpdateCustomObjectInstanceRequest.Builderfrom(CreateOrUpdateCustomObjectInstanceRequest other)
-
-
-
Method Detail
-
from
public CreateOrUpdateCustomObjectInstanceRequest.Builder from(CreateOrUpdateCustomObjectInstanceRequest other)
- Specified by:
fromin interfaceCreateOrUpdateCustomObjectInstanceRequest.CustomObjectTypeIdentifierStage
-
customObjectTypeIdentifier
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage customObjectTypeIdentifier(@NotNull java.lang.String customObjectTypeIdentifier)
The unique identifier of the custom object type that defines the structure of the custom object instance.
The unique identifier of the custom object type that defines the structure of the custom object instance.
- Specified by:
customObjectTypeIdentifierin interfaceCreateOrUpdateCustomObjectInstanceRequest.CustomObjectTypeIdentifierStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage customAttributes(java.util.Map<java.lang.String,java.util.Optional<java.lang.String>> customAttributes)
The custom attributes which are set for the Custom Object instance.
- Specified by:
customAttributesin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage customAttributes(java.util.Optional<java.util.Map<java.lang.String,java.util.Optional<java.lang.String>>> customAttributes)
The custom attributes which are set for the Custom Object instance.
- Specified by:
customAttributesin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage
-
externalUpdatedAt
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage externalUpdatedAt(java.lang.Integer externalUpdatedAt)
The time when the Custom Object instance was last updated in the external system it originated from.
- Specified by:
externalUpdatedAtin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalUpdatedAt
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage externalUpdatedAt(java.util.Optional<java.lang.Integer> externalUpdatedAt)
The time when the Custom Object instance was last updated in the external system it originated from.
- Specified by:
externalUpdatedAtin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage
-
externalCreatedAt
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage externalCreatedAt(java.lang.Integer externalCreatedAt)
The time when the Custom Object instance was created in the external system it originated from.
- Specified by:
externalCreatedAtin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalCreatedAt
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage externalCreatedAt(java.util.Optional<java.lang.Integer> externalCreatedAt)
The time when the Custom Object instance was created in the external system it originated from.
- Specified by:
externalCreatedAtin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage
-
externalId
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage externalId(java.lang.String externalId)
A unique identifier for the Custom Object instance in the external system it originated from.
- Specified by:
externalIdin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
public CreateOrUpdateCustomObjectInstanceRequest._FinalStage externalId(java.util.Optional<java.lang.String> externalId)
A unique identifier for the Custom Object instance in the external system it originated from.
- Specified by:
externalIdin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage
-
build
public CreateOrUpdateCustomObjectInstanceRequest build()
- Specified by:
buildin interfaceCreateOrUpdateCustomObjectInstanceRequest._FinalStage
-
-