public class DeleteProjectionOptions
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
T |
authenticated(java.lang.String login,
java.lang.String password)
Sets user credentials for the request
|
T |
authenticated(UserCredentials credentials)
Sets user credentials for the request
|
T |
deadline(long durationInMs)
A length of time (in milliseconds) to use for gRPC deadlines.
|
DeleteProjectionOptions |
deleteCheckpointStream()
Deletes the projection checkpoint stream.
|
DeleteProjectionOptions |
deleteCheckpointStream(boolean delete)
If true, deletes the projection checkpoint stream.
|
DeleteProjectionOptions |
deleteEmittedStreams()
Deletes emitted streams if the projections had track emitted streams enabled.
|
DeleteProjectionOptions |
deleteEmittedStreams(boolean delete)
If true, deletes emitted streams if the projections had track emitted streams enabled.
|
DeleteProjectionOptions |
deleteStateStream()
Deletes the projection state stream.
|
DeleteProjectionOptions |
deleteStateStream(boolean delete)
If true, deletes the projection state stream.
|
static DeleteProjectionOptions |
get()
Returns options with default values.
|
T |
header(java.lang.String key,
java.lang.String value)
Adds a custom HTTP header that will be added to the request.
|
T |
notRequireLeader()
Do not require the request to be performed by the leader of the cluster.
|
T |
requiresLeader()
Requires the request to be performed by the leader of the cluster.
|
T |
requiresLeader(boolean value)
If true, requires the request to be performed by the leader of the cluster.
|
public static DeleteProjectionOptions get()
public DeleteProjectionOptions deleteEmittedStreams()
public DeleteProjectionOptions deleteStateStream()
public DeleteProjectionOptions deleteCheckpointStream()
public DeleteProjectionOptions deleteEmittedStreams(boolean delete)
public DeleteProjectionOptions deleteStateStream(boolean delete)
public DeleteProjectionOptions deleteCheckpointStream(boolean delete)
public T authenticated(UserCredentials credentials)
credentials - UserCredentialspublic T authenticated(java.lang.String login,
java.lang.String password)
login - password - public T requiresLeader()
public T notRequireLeader()
public T requiresLeader(boolean value)
value - public T deadline(long durationInMs)
durationInMs - public T header(java.lang.String key,
java.lang.String value)