ApiProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.ApiProperties

public final class ApiProperties

The ApiProperties model.

Constructor Summary

Constructor Description
ApiProperties()

Creates an instance of ApiProperties class.

Method Summary

Modifier and Type Method and Description
ServerVersion serverVersion()

Get the serverVersion property: Describes the ServerVersion of an a MongoDB account.

void validate()

Validates the instance.

ApiProperties withServerVersion(ServerVersion serverVersion)

Set the serverVersion property: Describes the ServerVersion of an a MongoDB account.

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:

the serverVersion value.

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:

serverVersion - the serverVersion value to set.

Returns:

the ApiProperties object itself.

Applies to