Package com.azure.cosmos
Class CosmosUser
- java.lang.Object
-
- com.azure.cosmos.CosmosUser
-
public class CosmosUser extends Object
The type Cosmos sync user.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosmosUserResponse
delete()
Delete cosmos user.String
getId()
Id string.CosmosUserResponse
read()
Read cosmos userCosmosUserResponse
replace(CosmosUserProperties userProperties)
Replace cosmos user.
-
-
-
Method Detail
-
getId
public String getId()
Id string.- Returns:
- the string
-
read
public CosmosUserResponse read()
Read cosmos user- Returns:
- the cosmos user response
-
replace
public CosmosUserResponse replace(CosmosUserProperties userProperties)
Replace cosmos user.- Parameters:
userProperties
- the user properties- Returns:
- the cosmos user response
-
delete
public CosmosUserResponse delete()
Delete cosmos user.- Returns:
- the cosmos user response
-
-