Class ClientReadOptions
- java.lang.Object
-
- dev.openfga.sdk.api.configuration.ClientReadOptions
-
- All Implemented Interfaces:
AdditionalHeadersSupplier
public class ClientReadOptions extends java.lang.Object implements AdditionalHeadersSupplier
-
-
Constructor Summary
Constructors Constructor Description ClientReadOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientReadOptions
additionalHeaders(java.util.Map<java.lang.String,java.lang.String> additionalHeaders)
ClientReadOptions
consistency(ConsistencyPreference consistency)
ClientReadOptions
continuationToken(java.lang.String continuationToken)
java.util.Map<java.lang.String,java.lang.String>
getAdditionalHeaders()
ConsistencyPreference
getConsistency()
java.lang.String
getContinuationToken()
java.lang.Integer
getPageSize()
ClientReadOptions
pageSize(java.lang.Integer pageSize)
-
-
-
Method Detail
-
additionalHeaders
public ClientReadOptions additionalHeaders(java.util.Map<java.lang.String,java.lang.String> additionalHeaders)
-
getAdditionalHeaders
public java.util.Map<java.lang.String,java.lang.String> getAdditionalHeaders()
- Specified by:
getAdditionalHeaders
in interfaceAdditionalHeadersSupplier
-
pageSize
public ClientReadOptions pageSize(java.lang.Integer pageSize)
-
getPageSize
public java.lang.Integer getPageSize()
-
continuationToken
public ClientReadOptions continuationToken(java.lang.String continuationToken)
-
getContinuationToken
public java.lang.String getContinuationToken()
-
consistency
public ClientReadOptions consistency(ConsistencyPreference consistency)
-
getConsistency
public ConsistencyPreference getConsistency()
-
-