Package com.azure.data.cosmos.sync
Class CosmosSyncUser
- java.lang.Object
-
- com.azure.data.cosmos.sync.CosmosSyncUser
-
public class CosmosSyncUser extends Object
The type Cosmos sync user.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosmosSyncUserResponse
delete()
Delete cosmos user.String
id()
Id string.CosmosSyncUserResponse
read()
Read cosmos userCosmosSyncUserResponse
replace(CosmosUserProperties userProperties)
Replace cosmos user.
-
-
-
Method Detail
-
id
public String id()
Id string.- Returns:
- the string
-
read
public CosmosSyncUserResponse read() throws CosmosClientException
Read cosmos user- Returns:
- the cosmos sync user response
- Throws:
CosmosClientException
- the cosmos client exception
-
replace
public CosmosSyncUserResponse replace(CosmosUserProperties userProperties) throws CosmosClientException
Replace cosmos user.- Parameters:
userProperties
- the user properties- Returns:
- the cosmos sync user response
- Throws:
CosmosClientException
- the cosmos client exception
-
delete
public CosmosSyncUserResponse delete() throws CosmosClientException
Delete cosmos user.- Returns:
- the cosmos sync user response
- Throws:
CosmosClientException
- the cosmos client exception
-
-