Class ApiProperties


  • public final class ApiProperties
    extends Object
    The ApiProperties model.
    • Constructor Detail

      • ApiProperties

        public ApiProperties()
    • Method Detail

      • serverVersion

        public ServerVersion serverVersion()
        Get the serverVersion property: Describes the ServerVersion of an a MongoDB account.
        Returns:
        the serverVersion value.
      • 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.