Class UpdateContentImportSourceRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.aicontent.requests.UpdateContentImportSourceRequest.Builder
-
- All Implemented Interfaces:
UpdateContentImportSourceRequest._FinalStage,UpdateContentImportSourceRequest.IdStage,UpdateContentImportSourceRequest.SyncBehaviorStage,UpdateContentImportSourceRequest.UrlStage
- Enclosing class:
- UpdateContentImportSourceRequest
public static final class UpdateContentImportSourceRequest.Builder extends java.lang.Object implements UpdateContentImportSourceRequest.IdStage, UpdateContentImportSourceRequest.SyncBehaviorStage, UpdateContentImportSourceRequest.UrlStage, UpdateContentImportSourceRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateContentImportSourceRequestbuild()UpdateContentImportSourceRequest.Builderfrom(UpdateContentImportSourceRequest other)UpdateContentImportSourceRequest.SyncBehaviorStageid(java.lang.String id)The unique identifier for the content import source which is given by Intercom.UpdateContentImportSourceRequest._FinalStagestatus(UpdateContentImportSourceRequest.Status status)The status of the content import source.UpdateContentImportSourceRequest._FinalStagestatus(java.util.Optional<UpdateContentImportSourceRequest.Status> status)The status of the content import source.UpdateContentImportSourceRequest.UrlStagesyncBehavior(UpdateContentImportSourceRequest.SyncBehavior syncBehavior)If you intend to create or update External Pages via the API, this should be set toapi.UpdateContentImportSourceRequest._FinalStageurl(java.lang.String url)The URL of the content import source.
-
-
-
Method Detail
-
from
public UpdateContentImportSourceRequest.Builder from(UpdateContentImportSourceRequest other)
- Specified by:
fromin interfaceUpdateContentImportSourceRequest.IdStage
-
id
public UpdateContentImportSourceRequest.SyncBehaviorStage id(@NotNull java.lang.String id)
The unique identifier for the content import source which is given by Intercom.
The unique identifier for the content import source which is given by Intercom.
- Specified by:
idin interfaceUpdateContentImportSourceRequest.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
syncBehavior
public UpdateContentImportSourceRequest.UrlStage syncBehavior(@NotNull UpdateContentImportSourceRequest.SyncBehavior syncBehavior)
If you intend to create or update External Pages via the API, this should be set to
api. You can not change the value to or from api.If you intend to create or update External Pages via the API, this should be set to
api. You can not change the value to or from api.- Specified by:
syncBehaviorin interfaceUpdateContentImportSourceRequest.SyncBehaviorStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
public UpdateContentImportSourceRequest._FinalStage url(@NotNull java.lang.String url)
The URL of the content import source. This may only be different from the existing value if the sync behavior is API.
The URL of the content import source. This may only be different from the existing value if the sync behavior is API.
- Specified by:
urlin interfaceUpdateContentImportSourceRequest.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
status
public UpdateContentImportSourceRequest._FinalStage status(UpdateContentImportSourceRequest.Status status)
The status of the content import source.
- Specified by:
statusin interfaceUpdateContentImportSourceRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
status
public UpdateContentImportSourceRequest._FinalStage status(java.util.Optional<UpdateContentImportSourceRequest.Status> status)
The status of the content import source.
- Specified by:
statusin interfaceUpdateContentImportSourceRequest._FinalStage
-
build
public UpdateContentImportSourceRequest build()
- Specified by:
buildin interfaceUpdateContentImportSourceRequest._FinalStage
-
-