def METHOD_NAME(self) -> list[str]:
    cmd = [
        "java",
        "-Xmx%s" % self.heap_size,
        f"-javaagent:{dynamodblocal_package.get_installer().get_ddb_agent_jar_path()}",
        f"-Djava.library.path={self.library_path}",
        "-jar",
        self.jar_path,
    ]
    parameters = []
    parameters.extend(["-port", str(self.port)])
    if self.in_memory:
        parameters.append("-inMemory")
    if self.db_path:
        parameters.extend(["-dbPath", self.db_path])
    if self.delay_transient_statuses:
        parameters.extend(["-delayTransientStatuses"])
    if self.optimize_db_before_startup:
        parameters.extend(["-optimizeDbBeforeStartup"])
    if self.share_db:
        parameters.extend(["-sharedDb"])
    return cmd + parameters