Partager via


CosmosUser Class

  • java.lang.Object
    • com.azure.cosmos.CosmosUser

public class CosmosUser

The type Cosmos sync user.

Method Summary

Modifier and Type Method and Description
CosmosUserResponse delete()

Delete cosmos user.

String getId()

Id string.

CosmosUserResponse read()

Read cosmos user

CosmosUserResponse 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