Class GetOperationRequest.Builder
- java.lang.Object
-
- com.rivet.api.resources.kv.requests.GetOperationRequest.Builder
-
- All Implemented Interfaces:
GetOperationRequest._FinalStage,GetOperationRequest.KeyStage
- Enclosing class:
- GetOperationRequest
public static final class GetOperationRequest.Builder extends java.lang.Object implements GetOperationRequest.KeyStage, GetOperationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOperationRequestbuild()GetOperationRequest.Builderfrom(GetOperationRequest other)GetOperationRequest._FinalStagekey(java.lang.String key)GetOperationRequest._FinalStagenamespaceId(java.util.Optional<java.util.UUID> namespaceId)GetOperationRequest._FinalStagenamespaceId(java.util.UUID namespaceId)GetOperationRequest._FinalStagewatchIndex(java.lang.String watchIndex)A query parameter denoting the requests watch index.GetOperationRequest._FinalStagewatchIndex(java.util.Optional<java.lang.String> watchIndex)
-
-
-
Method Detail
-
from
public GetOperationRequest.Builder from(GetOperationRequest other)
- Specified by:
fromin interfaceGetOperationRequest.KeyStage
-
key
public GetOperationRequest._FinalStage key(java.lang.String key)
- Specified by:
keyin interfaceGetOperationRequest.KeyStage
-
namespaceId
public GetOperationRequest._FinalStage namespaceId(java.util.UUID namespaceId)
- Specified by:
namespaceIdin interfaceGetOperationRequest._FinalStage
-
namespaceId
public GetOperationRequest._FinalStage namespaceId(java.util.Optional<java.util.UUID> namespaceId)
- Specified by:
namespaceIdin interfaceGetOperationRequest._FinalStage
-
watchIndex
public GetOperationRequest._FinalStage watchIndex(java.lang.String watchIndex)
A query parameter denoting the requests watch index.
- Specified by:
watchIndexin interfaceGetOperationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
watchIndex
public GetOperationRequest._FinalStage watchIndex(java.util.Optional<java.lang.String> watchIndex)
- Specified by:
watchIndexin interfaceGetOperationRequest._FinalStage
-
build
public GetOperationRequest build()
- Specified by:
buildin interfaceGetOperationRequest._FinalStage
-
-