Class MoveIndexResponse
- java.lang.Object
-
- com.algolia.search.models.indexing.MoveIndexResponse
-
- All Implemented Interfaces:
WaitableResponse,Serializable
public class MoveIndexResponse extends Object implements Serializable, WaitableResponse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MoveIndexResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIndexName()OffsetDateTimegetUpdatedAt()MoveIndexResponsesetIndexName(String indexName)MoveIndexResponsesetTaskID(Long taskID)MoveIndexResponsesetUpdatedAt(OffsetDateTime updatedAt)voidsetWaitBiConsumer(BiConsumer<String,Long> waitBiConsumer)voidsetWaitConsumer(Consumer<Long> waitConsumer)voidwaitTask()Wait for a task to complete before executing the next line of code, to synchronize index updates.
-
-
-
Method Detail
-
getUpdatedAt
public OffsetDateTime getUpdatedAt()
-
setUpdatedAt
public MoveIndexResponse setUpdatedAt(OffsetDateTime updatedAt)
-
getIndexName
public String getIndexName()
-
setIndexName
public MoveIndexResponse setIndexName(String indexName)
-
setTaskID
public MoveIndexResponse setTaskID(Long taskID)
-
setWaitBiConsumer
public void setWaitBiConsumer(BiConsumer<String,Long> waitBiConsumer)
-
waitTask
public void waitTask()
Description copied from interface:WaitableResponseWait for a task to complete before executing the next line of code, to synchronize index updates.- Specified by:
waitTaskin interfaceWaitableResponse
-
-