ApiProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. ApiProperties
- com.
public final class ApiProperties
The ApiProperties model.
Constructor Summary
Constructor | Description |
---|---|
ApiProperties() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
Server |
serverVersion()
Get the server |
void |
validate()
Validates the instance. |
Api |
withServerVersion(ServerVersion serverVersion)
Set the server |
Methods inherited from java.lang.Object
Constructor Details
ApiProperties
public ApiProperties()
Creates an instance of ApiProperties class.
Method Details
serverVersion
public ServerVersion serverVersion()
Get the serverVersion property: Describes the ServerVersion of an a MongoDB account.
Returns:
validate
public void validate()
Validates the instance.
withServerVersion
public ApiProperties withServerVersion(ServerVersion serverVersion)
Set the serverVersion property: Describes the ServerVersion of an a MongoDB account.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for