Package com.slack.api.audit.request
Class LogsRequest.LogsRequestBuilder
- java.lang.Object
-
- com.slack.api.audit.request.LogsRequest.LogsRequestBuilder
-
- Enclosing class:
- LogsRequest
public static class LogsRequest.LogsRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogsRequest.LogsRequestBuilderaction(String action)Name of the action.LogsRequest.LogsRequestBuilderactor(String actor)User ID who initiated the action.LogsRequestbuild()LogsRequest.LogsRequestBuildercursor(String cursor)Used for pagination.LogsRequest.LogsRequestBuilderentity(String entity)ID of the target entity of the action (such as a channel, workspace, organization, file).LogsRequest.LogsRequestBuilderlatest(Integer latest)Unix timestamp of the most recent audit event to include (inclusive).LogsRequest.LogsRequestBuilderlimit(Integer limit)Number of results to optimistically return, maximum 9999.LogsRequest.LogsRequestBuilderoldest(Integer oldest)Unix timestamp of the least recent audit event to include (inclusive).LogsRequest.LogsRequestBuildertoken(String token)StringtoString()
-
-
-
Method Detail
-
token
public LogsRequest.LogsRequestBuilder token(String token)
-
latest
public LogsRequest.LogsRequestBuilder latest(Integer latest)
Unix timestamp of the most recent audit event to include (inclusive).- Returns:
this.
-
oldest
public LogsRequest.LogsRequestBuilder oldest(Integer oldest)
Unix timestamp of the least recent audit event to include (inclusive). The earliest possible timestamp is when the Audit Logs feature was enabled for your Grid organization, around mid-March 2018.- Returns:
this.
-
limit
public LogsRequest.LogsRequestBuilder limit(Integer limit)
Number of results to optimistically return, maximum 9999.- Returns:
this.
-
action
public LogsRequest.LogsRequestBuilder action(String action)
Name of the action.- Returns:
this.
-
actor
public LogsRequest.LogsRequestBuilder actor(String actor)
User ID who initiated the action.- Returns:
this.
-
entity
public LogsRequest.LogsRequestBuilder entity(String entity)
ID of the target entity of the action (such as a channel, workspace, organization, file).- Returns:
this.
-
cursor
public LogsRequest.LogsRequestBuilder cursor(String cursor)
Used for pagination. May be null.- Returns:
this.
-
build
public LogsRequest build()
-
-