Class DataExport.Builder
- java.lang.Object
-
- com.intercom.api.resources.dataexport.types.DataExport.Builder
-
- All Implemented Interfaces:
DataExport._FinalStage,DataExport.DownloadExpiresAtStage,DataExport.DownloadUrlStage,DataExport.JobIdentifierStage,DataExport.StatusStage
- Enclosing class:
- DataExport
public static final class DataExport.Builder extends java.lang.Object implements DataExport.JobIdentifierStage, DataExport.StatusStage, DataExport.DownloadExpiresAtStage, DataExport.DownloadUrlStage, DataExport._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataExportbuild()DataExport.DownloadUrlStagedownloadExpiresAt(java.lang.String downloadExpiresAt)The time after which you will not be able to access the data.DataExport._FinalStagedownloadUrl(java.lang.String downloadUrl)The location where you can download your data.DataExport.Builderfrom(DataExport other)DataExport.StatusStagejobIdentifier(java.lang.String jobIdentifier)The identifier for your job.DataExport.DownloadExpiresAtStagestatus(DataExport.Status status)The current state of your job.
-
-
-
Method Detail
-
from
public DataExport.Builder from(DataExport other)
- Specified by:
fromin interfaceDataExport.JobIdentifierStage
-
jobIdentifier
public DataExport.StatusStage jobIdentifier(@NotNull java.lang.String jobIdentifier)
The identifier for your job.The identifier for your job.
- Specified by:
jobIdentifierin interfaceDataExport.JobIdentifierStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
status
public DataExport.DownloadExpiresAtStage status(@NotNull DataExport.Status status)
The current state of your job.The current state of your job.
- Specified by:
statusin interfaceDataExport.StatusStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
downloadExpiresAt
public DataExport.DownloadUrlStage downloadExpiresAt(@NotNull java.lang.String downloadExpiresAt)
The time after which you will not be able to access the data.The time after which you will not be able to access the data.
- Specified by:
downloadExpiresAtin interfaceDataExport.DownloadExpiresAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
downloadUrl
public DataExport._FinalStage downloadUrl(@NotNull java.lang.String downloadUrl)
The location where you can download your data.The location where you can download your data.
- Specified by:
downloadUrlin interfaceDataExport.DownloadUrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public DataExport build()
- Specified by:
buildin interfaceDataExport._FinalStage
-
-