CosmosUser Class
- java.
lang. Object - com.
azure. cosmos. CosmosUser
- com.
public class CosmosUser
The type Cosmos sync user.
Method Summary
Modifier and Type | Method and Description |
---|---|
Cosmos |
delete()
Delete cosmos user. |
String |
getId()
Id string. |
Cosmos |
read()
Read cosmos user |
Cosmos |
replace(CosmosUserProperties userProperties)
Replace cosmos user. |
Methods inherited from java.lang.Object
Method Details
delete
public CosmosUserResponse delete()
Delete cosmos user.
Returns:
the cosmos user response
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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java