ApiProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. ApiProperties
- com.
Implements
public final class ApiProperties
implements JsonSerializable<ApiProperties>
The ApiProperties model.
Constructor | Description |
---|---|
Api |
Creates an instance of Api |
Modifier and Type | Method and Description |
---|---|
static
Api |
from Reads an instance of Api |
Server |
server Get the server |
Json |
to |
void |
validate()
Validates the instance. |
Api |
with Set the server |
Methods inherited from java.lang.Object
ApiProperties
public ApiProperties()
Creates an instance of ApiProperties class.
fromJson
public static ApiProperties fromJson(JsonReader jsonReader)
Reads an instance of ApiProperties from the JsonReader.
Parameters:
Returns:
Throws:
serverVersion
public ServerVersion serverVersion()
Get the serverVersion property: Describes the version of the MongoDB account.
Returns:
toJson
validate
public void validate()
Validates the instance.
withServerVersion
public ApiProperties withServerVersion(ServerVersion serverVersion)
Set the serverVersion property: Describes the version of the MongoDB account.
Parameters:
Returns: